summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c')
-rw-r--r--llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c b/llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c
index 3b17941a73e..a5a679db675 100644
--- a/llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c
+++ b/llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
const char *W = "foo";
const int X = 7;
OpenPOWER on IntegriCloud