summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC/2004-11-27-StaticFunctionRedeclare.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/2004-11-27-StaticFunctionRedeclare.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/2004-11-27-StaticFunctionRedeclare.c')
-rw-r--r--llvm/test/FrontendC/2004-11-27-StaticFunctionRedeclare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/FrontendC/2004-11-27-StaticFunctionRedeclare.c b/llvm/test/FrontendC/2004-11-27-StaticFunctionRedeclare.c
index b1e14212732..994ac8f8436 100644
--- a/llvm/test/FrontendC/2004-11-27-StaticFunctionRedeclare.c
+++ b/llvm/test/FrontendC/2004-11-27-StaticFunctionRedeclare.c
@@ -1,5 +1,5 @@
-// RUN: %llvmgcc -c -emit-llvm %s -o - | \
-// RUN: opt -std-compile-opts | llvm-dis | not grep {declare i32.*func}
+// RUN: %llvmgcc -S %s -o - | \
+// RUN: opt -std-compile-opts -S | not grep {declare i32.*func}
// There should not be an unresolved reference to func here. Believe it or not,
// the "expected result" is a function named 'func' which is internal and
OpenPOWER on IntegriCloud