From b58f0a6a49a2d9a8dac35f7c679c9fe78eea0808 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Tue, 10 Jun 2008 18:01:54 +0000 Subject: Use %link not %llvmgxx (which includes -c) to do the link. The test still fails because an expected symbol is not present, and I don't see why it should be. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52188 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FrontendC++/2006-11-30-NoCompileUnit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/FrontendC++/2006-11-30-NoCompileUnit.cpp') diff --git a/test/FrontendC++/2006-11-30-NoCompileUnit.cpp b/test/FrontendC++/2006-11-30-NoCompileUnit.cpp index c1fa9ae..c225eb7 100644 --- a/test/FrontendC++/2006-11-30-NoCompileUnit.cpp +++ b/test/FrontendC++/2006-11-30-NoCompileUnit.cpp @@ -3,7 +3,7 @@ // RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \ // RUN: llc --disable-fp-elim -o NoCompileUnit.s -f // RUN: %compile_c NoCompileUnit.s -o NoCompileUnit.o -// RUN: %compile_cxx NoCompileUnit.o -o NoCompileUnit.exe +// RUN: %link NoCompileUnit.o -o NoCompileUnit.exe // RUN: echo {break main\nrun\np NoCompileUnit::pubname} > %t2 // RUN: gdb -q -batch -n -x %t2 NoCompileUnit.exe | \ // RUN: tee NoCompileUnit.out | not grep {"low == high"} -- cgit v1.1