Sign in
llvm
/
clang
/
3b8d539899d6651504edfbaaa2ea68eb9d7aa6ac
/
.
/
test
/
SemaOpenCL
/
str_literals.cl
blob: da665c3fd130728629463625e0f56d743193b435 [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -verify
//
expected-no-diagnostics
constant char
*
__constant x
=
"hello world"
;
void foo
(
__constant char
*
a
)
{
}
void bar
(
)
{
foo
(
"hello world"
)
;
foo
(
x
)
;
}