summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/LLVMC/false.c2
-rw-r--r--llvm/test/LLVMC/hello.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/LLVMC/false.c b/llvm/test/LLVMC/false.c
index 8319036c363..69b400c59b0 100644
--- a/llvm/test/LLVMC/false.c
+++ b/llvm/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/llvm/test/LLVMC/hello.cpp b/llvm/test/LLVMC/hello.cpp
index 4b45ea945e0..a3148c3c164 100644
--- a/llvm/test/LLVMC/hello.cpp
+++ b/llvm/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>
OpenPOWER on IntegriCloud