OSDN Git Service

Use the new %link variable to make this test portable.
authorReid Spencer <rspencer@reidspencer.com>
Wed, 11 Apr 2007 21:00:00 +0000 (21:00 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 11 Apr 2007 21:00:00 +0000 (21:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35921 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/llvm2cpp.ll

index 523d869..095bd99 100644 (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