diff options
Diffstat (limited to 'test/CodeGen/2002-12-15-GlobalConstantTest.c')
-rw-r--r-- | test/CodeGen/2002-12-15-GlobalConstantTest.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/2002-12-15-GlobalConstantTest.c b/test/CodeGen/2002-12-15-GlobalConstantTest.c new file mode 100644 index 0000000000000..8203f569625d7 --- /dev/null +++ b/test/CodeGen/2002-12-15-GlobalConstantTest.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -emit-llvm %s -o /dev/null + + +const char *W = "foo"; +const int X = 7; +int Y = 8; +const char * const Z = "bar"; + |