diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-11 21:00:00 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-11 21:00:00 +0000 |
commit | 6015a1cbc552fb9dafc22af708145290d042282d (patch) | |
tree | 820efa00192938d221c6bca24a3b3c822e321409 | |
parent | 3d89bc5845cb4c2577257483684deadd88cc06f9 (diff) | |
download | external_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.ll | 2 |
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 |