Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenOpenCL / const-str-array-decay.cl
blob0bffe92d6565dce8024c23875598c5e560ebe4fa
1 // RUN: %clang_cc1 %s -emit-llvm -o - -ffake-address-space-map | FileCheck %s
3 int test_func(constant char* foo);
5 kernel void str_array_decy() {
6 test_func("Test string literal");
9 // CHECK: ptr addrspace(2) noundef
10 // CHECK-NOT: addrspacecast