From 5fe97a0490baffa4a23c1e5a36f47a73d56b58d7 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Thu, 25 Nov 2010 21:39:17 +0000 Subject: 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 --- llvm/test/FrontendC++/2007-03-27-FunctionVarRename.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/FrontendC++/2007-03-27-FunctionVarRename.cpp') diff --git a/llvm/test/FrontendC++/2007-03-27-FunctionVarRename.cpp b/llvm/test/FrontendC++/2007-03-27-FunctionVarRename.cpp index 538d6df1813..6ff1284ddb4 100644 --- a/llvm/test/FrontendC++/2007-03-27-FunctionVarRename.cpp +++ b/llvm/test/FrontendC++/2007-03-27-FunctionVarRename.cpp @@ -1,5 +1,5 @@ -// RUN: %llvmgxx %s -emit-llvm -S -o - | not grep eprintf1 -// RUN: %llvmgxx %s -emit-llvm -S -o - | grep eprintf +// RUN: %llvmgxx %s -S -o - | not grep eprintf1 +// RUN: %llvmgxx %s -S -o - | grep eprintf // Only one eprintf should exist in the output -- cgit v1.2.3