1 // REQUIRES
: amdgpu-registered-target
2 // RUN
: not %clang_cc1 -x cl -emit-codegen-only -triple
=amdgcn--
< %s
2>&1 | FileCheck %s
4 // CHECK
: <stdin
>:[[@LINE
+1]]:13: error
: local memory
(480000) exceeds limit
(32768) in
'use_huge_lds
'
5 kernel void use_huge_lds
() {
6 volatile local int huge
[120000];