From b32d19de6ac85560267e40a65b12f6ccea26f3b3 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Thu, 25 Nov 2010 21:24:35 +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: 120158 --- llvm/test/FrontendC/pr3518.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/FrontendC/pr3518.c') diff --git a/llvm/test/FrontendC/pr3518.c b/llvm/test/FrontendC/pr3518.c index 4c193c7739b..53150b806bb 100644 --- a/llvm/test/FrontendC/pr3518.c +++ b/llvm/test/FrontendC/pr3518.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep {= internal global} | count 4 +// RUN: %llvmgcc %s -S -O0 -o - | grep {= internal global} | count 4 // PR 3518 // Some of the objects were coming out as unintialized (external) before 3518 // was fixed. Internal names are different between llvm-gcc and clang so they -- cgit v1.2.3