Sign in
llvm
/
clang
/
741e05796da92b46d4f7bcbee00702ff37df6489
/
.
/
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
)
;
}