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++/2007-07-29-RestrictPtrArg.cpp b/llvm/test/FrontendC++/2007-07-29-RestrictPtrArg.cpp
index d54dfbe..2e85abd 100644
--- a/llvm/test/FrontendC++/2007-07-29-RestrictPtrArg.cpp
+++ b/llvm/test/FrontendC++/2007-07-29-RestrictPtrArg.cpp
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
+// RUN: %llvmgxx -S %s -o - | grep noalias
void foo(int * __restrict myptr1, int * myptr2) {
myptr1[0] = 0;