14 lines · plain
1// RUN: %clang_cc1 %s -verify2// expected-no-diagnostics3 4constant char * __constant x = "hello world";5 6void foo(__constant char * a) {7 8}9 10void bar() {11 foo("hello world");12 foo(x);13}14 1// RUN: %clang_cc1 %s -verify2// expected-no-diagnostics3 4constant char * __constant x = "hello world";5 6void foo(__constant char * a) {7 8}9 10void bar() {11 foo("hello world");12 foo(x);13}14