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