Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
CodeGenOpenCL
/
const-str-array-decay.cl
blob: 0bffe92d6565dce8024c23875598c5e560ebe4fa [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -emit-llvm -o
-
-ffake-address-space-map
|
FileCheck
%
s
int test_func
(
constant char
*
foo
)
;
kernel void str_array_decy
(
)
{
test_func
(
"Test string literal"
)
;
}
//
CHECK
:
ptr addrspace
(
2
)
noundef
//
CHECK-NOT
:
addrspacecast