| 1 |
// RUN: %clang_cc1 %s -emit-llvm -o - -ffake-address-space-map | FileCheck %s |
| 2 |
|
| 3 |
int test_func(constant char* foo); |
| 4 |
|
| 5 |
kernel void str_array_decy() { |
| 6 |
test_func("Test string literal"); |
| 7 |
} |
| 8 |
|
| 9 |
// CHECK: ptr addrspace(2) noundef |
| 10 |
// CHECK-NOT: addrspacecast |