aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-11 21:00:00 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-11 21:00:00 +0000
commit6015a1cbc552fb9dafc22af708145290d042282d (patch)
tree820efa00192938d221c6bca24a3b3c822e321409
parent3d89bc5845cb4c2577257483684deadd88cc06f9 (diff)
downloadexternal_llvm-6015a1cbc552fb9dafc22af708145290d042282d.zip
external_llvm-6015a1cbc552fb9dafc22af708145290d042282d.tar.gz
external_llvm-6015a1cbc552fb9dafc22af708145290d042282d.tar.bz2
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
-rw-r--r--test/Feature/llvm2cpp.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Feature/llvm2cpp.ll b/test/Feature/llvm2cpp.ll
index 523d869..095bd99 100644
--- a/test/Feature/llvm2cpp.ll
+++ b/test/Feature/llvm2cpp.ll
@@ -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