Use the new %link variable to make this test portable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35921 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-04-11 21:00:00 +00:00
parent 3d89bc5845
commit 6015a1cbc5

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llvm-dis > %t1.ll
; RUN: llvm-as < %s | llvm2cpp -gen-program -o %t2.cpp -
; RUN: gcc -g -D__STDC_LIMIT_MACROS -o %t2.exe %t2.cpp -I%I -L%L -lLLVMCore -lLLVMSupport -lLLVMbzip2 -lLLVMSystem -lstdc++
; RUN: %link -o %t2.exe %t2.cpp -lLLVMCore -lLLVMSupport -lLLVMbzip2 -lLLVMSystem -lstdc++
; RUN: %t2.exe > %t2.ll
; RUN: diff %t1.ll %t2.ll