From: Dale Johannesen Date: Tue, 10 Jun 2008 18:01:54 +0000 (+0000) Subject: Use %link not %llvmgxx (which includes -c) to do the link. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c9958102ecea5b30761b5347a0a8259f5f0523e7;p=oota-llvm.git 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 --- diff --git a/test/FrontendC++/2006-11-30-NoCompileUnit.cpp b/test/FrontendC++/2006-11-30-NoCompileUnit.cpp index c1fa9aed894..c225eb782e3 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"}