summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:15:12 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:15:12 +0000
commit76b1b24dc805c7a3adb4517443241ed3ecd0ba74 (patch)
treebfd96d543fa856e4b4bf11a8d92a91a32a4e8556 /test
parentbb8b58dcf3e1994beb458e777b306fa3805ee50f (diff)
downloadllvm-76b1b24dc805c7a3adb4517443241ed3ecd0ba74.tar.gz
llvm-76b1b24dc805c7a3adb4517443241ed3ecd0ba74.tar.bz2
llvm-76b1b24dc805c7a3adb4517443241ed3ecd0ba74.tar.xz
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.c2
-rw-r--r--test/LLVMC/hello.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/LLVMC/false.c b/test/LLVMC/false.c
index 8319036c36..69b400c59b 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 4b45ea945e..a3148c3c16 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>