bolt/deps/llvm-18.1.8/clang/test/SemaOpenCL/str_literals.cl

14 lines
188 B
Common Lisp
Raw Normal View History

2025-02-14 19:21:04 +01:00
// 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);
}