Joey Gouly | 758c4d8 | 2013-11-14 18:26:10 +0000 | [diff] [blame] | 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 | } |