diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-15 17:37:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-15 17:37:35 +0000 |
commit | 4fed97f8016b4e2fbce3068969e2a5ca19abd47e (patch) | |
tree | 18451e6629d5c759497dfcb78a72d7d9f1c18967 /test/CFrontend | |
parent | 1765b5dbcfbc6b4d38a861de67b78b314d9b9478 (diff) | |
download | llvm-4fed97f8016b4e2fbce3068969e2a5ca19abd47e.tar.gz llvm-4fed97f8016b4e2fbce3068969e2a5ca19abd47e.tar.bz2 llvm-4fed97f8016b4e2fbce3068969e2a5ca19abd47e.tar.xz |
New test to make sure I'm getting constness right
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2002-12-15-GlobalConstantTest.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2002-12-15-GlobalConstantTest.c b/test/CFrontend/2002-12-15-GlobalConstantTest.c new file mode 100644 index 0000000000..3b17941a73 --- /dev/null +++ b/test/CFrontend/2002-12-15-GlobalConstantTest.c @@ -0,0 +1,6 @@ + +const char *W = "foo"; +const int X = 7; +int Y = 8; +const char * const Z = "bar"; + |