forked from OSchip/llvm-project
14 lines
188 B
Common Lisp
14 lines
188 B
Common Lisp
|
// 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);
|
||
|
}
|