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
This commit is contained in:
Dale Johannesen 2008-06-10 18:01:54 +00:00
parent e115ca544c
commit c9958102ec

View File

@ -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"}