summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC++/2009-05-04-PureConstNounwind.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++/2009-05-04-PureConstNounwind.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++/2009-05-04-PureConstNounwind.cpp')
-rw-r--r--llvm/test/FrontendC++/2009-05-04-PureConstNounwind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/FrontendC++/2009-05-04-PureConstNounwind.cpp b/llvm/test/FrontendC++/2009-05-04-PureConstNounwind.cpp
index a4b4653e122..e275c340a95 100644
--- a/llvm/test/FrontendC++/2009-05-04-PureConstNounwind.cpp
+++ b/llvm/test/FrontendC++/2009-05-04-PureConstNounwind.cpp
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - | grep nounwind | count 4
+// RUN: %llvmgxx -S %s -o - | grep nounwind | count 4
int c(void) __attribute__((const));
int p(void) __attribute__((pure));
int t(void);
OpenPOWER on IntegriCloud