[clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::inferFrameworkModule()
[llvm-project.git] / clang / test / Misc / backend-resource-limit-diagnostics.cl
blob993d0ebaa21520bccefb40ba11648c6414f54226
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];
7 huge[0] = 2;