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
diff --git a/llvm/test/FrontendC++/ptr-to-method-devirt.cpp b/llvm/test/FrontendC++/ptr-to-method-devirt.cpp
index 358b801..a5ca5c7 100644
--- a/llvm/test/FrontendC++/ptr-to-method-devirt.cpp
+++ b/llvm/test/FrontendC++/ptr-to-method-devirt.cpp
@@ -1,6 +1,6 @@
// PR1602
-// RUN: %llvmgxx -c -emit-llvm %s -o - -O3 | llvm-dis | not grep ptrtoint
-// RUN: %llvmgxx -c -emit-llvm %s -o - -O3 | llvm-dis | grep getelementptr | count 1
+// RUN: %llvmgxx -S %s -o - -O3 | not grep ptrtoint
+// RUN: %llvmgxx -S %s -o - -O3 | grep getelementptr | count 1
struct S { virtual void f(); };