☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaOpenCL
/
str_literals.cl
☽
☼
clang/test/SemaOpenCL/str_literals.cl
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 %s -verify
2
// expected-no-diagnostics
3
4
constant char * __constant x = "hello world";
5
6
void foo(__constant char * a) {
7
8
}
9
10
void bar() {
11
foo("hello world");
12
foo(x);
13
}