Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
99c62cefb02726e7c082aef15a350466e6a01aeb
/
.
/
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
)
;
}