summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC/extern-weak.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/extern-weak.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/extern-weak.c')
-rw-r--r--llvm/test/FrontendC/extern-weak.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/FrontendC/extern-weak.c b/llvm/test/FrontendC/extern-weak.c
index 4729b048fbe..73b59cc48c4 100644
--- a/llvm/test/FrontendC/extern-weak.c
+++ b/llvm/test/FrontendC/extern-weak.c
@@ -1,5 +1,5 @@
-// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep extern_weak
-// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llc
+// RUN: %llvmgcc -O3 -S -o - %s | grep extern_weak
+// RUN: %llvmgcc -O3 -S -o - %s | llc
#if !defined(__linux__) && !defined(__FreeBSD__) && \
!defined(__OpenBSD__) && !defined(__CYGWIN__) && !defined(__DragonFly__)
OpenPOWER on IntegriCloud