Home | History | Annotate | Download | only in SemaOpenCL
      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 }
     14