summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC/2007-02-16-WritableStrings.c
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-25 21:24:35 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-25 21:24:35 +0000
commitb32d19de6ac85560267e40a65b12f6ccea26f3b3 (patch)
tree7bad54096c3da4f4edf7b89ffa4dbbd8d8cd5648 /llvm/test/FrontendC/2007-02-16-WritableStrings.c
parent2b5243d096ce2b7763cfd3a1c72f75a0443a50e6 (diff)
downloadbcm5719-llvm-b32d19de6ac85560267e40a65b12f6ccea26f3b3.tar.gz
bcm5719-llvm-b32d19de6ac85560267e40a65b12f6ccea26f3b3.zip
Remove explicit uses of -emit-llvm, the test infrastructure adds it
automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). llvm-svn: 120158
Diffstat (limited to 'llvm/test/FrontendC/2007-02-16-WritableStrings.c')
-rw-r--r--llvm/test/FrontendC/2007-02-16-WritableStrings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/FrontendC/2007-02-16-WritableStrings.c b/llvm/test/FrontendC/2007-02-16-WritableStrings.c
index 0f281ce7c5e..ebf64c2c316 100644
--- a/llvm/test/FrontendC/2007-02-16-WritableStrings.c
+++ b/llvm/test/FrontendC/2007-02-16-WritableStrings.c
@@ -1,7 +1,7 @@
// Test the -fwritable-strings option.
-// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \
+// RUN: %llvmgcc -O3 -S -o - -fwritable-strings %s | \
// RUN: grep {internal global}
-// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {private constant}
+// RUN: %llvmgcc -O3 -S -o - %s | grep {private constant}
char *X = "foo";
OpenPOWER on IntegriCloud