diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:15:12 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:15:12 +0000 |
commit | 76b1b24dc805c7a3adb4517443241ed3ecd0ba74 (patch) | |
tree | bfd96d543fa856e4b4bf11a8d92a91a32a4e8556 /test | |
parent | bb8b58dcf3e1994beb458e777b306fa3805ee50f (diff) | |
download | external_llvm-76b1b24dc805c7a3adb4517443241ed3ecd0ba74.zip external_llvm-76b1b24dc805c7a3adb4517443241ed3ecd0ba74.tar.gz external_llvm-76b1b24dc805c7a3adb4517443241ed3ecd0ba74.tar.bz2 |
Use edge weights to choose the right linker based on input language names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/LLVMC/false.c | 2 | ||||
-rw-r--r-- | test/LLVMC/hello.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/LLVMC/false.c b/test/LLVMC/false.c index 8319036..69b400c 100644 --- a/test/LLVMC/false.c +++ b/test/LLVMC/false.c @@ -1,5 +1,5 @@ // Test that we can compile .c files as C++ and vice versa -// RUN: llvmc2 --linker=c++ -x c++ %s -x c %p/false.cpp -x lisp -x whatnot -x none %p/false2.cpp -o %t +// RUN: llvmc2 -x c++ %s -x c %p/false.cpp -x lisp -x whatnot -x none %p/false2.cpp -o %t // RUN: ./%t | grep hello #include <iostream> diff --git a/test/LLVMC/hello.cpp b/test/LLVMC/hello.cpp index 4b45ea9..a3148c3 100644 --- a/test/LLVMC/hello.cpp +++ b/test/LLVMC/hello.cpp @@ -1,5 +1,5 @@ // Test that we can compile C++ code. -// RUN: llvmc2 --linker=c++ %s -o %t +// RUN: llvmc2 %s -o %t // RUN: ./%t | grep hello #include <iostream> |