summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-25 21:39:17 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-25 21:39:17 +0000
commit5fe97a0490baffa4a23c1e5a36f47a73d56b58d7 (patch)
tree1b50b28d7059d6b216ae5780cfc027a7a23da599 /llvm/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp
parent0be0ae625d48d830450d8ae1054a6b02c509c259 (diff)
downloadbcm5719-llvm-5fe97a0490baffa4a23c1e5a36f47a73d56b58d7.tar.gz
bcm5719-llvm-5fe97a0490baffa4a23c1e5a36f47a73d56b58d7.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: 120160
Diffstat (limited to 'llvm/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp')
-rw-r--r--llvm/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp b/llvm/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp
index eabcd573270..4c2aad397c8 100644
--- a/llvm/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp
+++ b/llvm/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp
@@ -1,16 +1,16 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xglobWeak | grep linkonce | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xextWeak | grep linkonce | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xWeaknoinline | grep weak | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xWeakextnoinline | grep weak | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xglobnoWeak | grep linkonce | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xstatnoWeak | grep internal | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xextnoWeak | grep linkonce | count 1
inline int xglobWeak(int) __attribute__((weak));
inline int xglobWeak (int i) {
OpenPOWER on IntegriCloud