summaryrefslogtreecommitdiff
path: root/test/LLVMC/hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/LLVMC/hello.cpp')
-rw-r--r--test/LLVMC/hello.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/LLVMC/hello.cpp b/test/LLVMC/hello.cpp
index a3148c3c16..4b45ea945e 100644
--- a/test/LLVMC/hello.cpp
+++ b/test/LLVMC/hello.cpp
@@ -1,5 +1,5 @@
// Test that we can compile C++ code.
-// RUN: llvmc2 %s -o %t
+// RUN: llvmc2 --linker=c++ %s -o %t
// RUN: ./%t | grep hello
#include <iostream>