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