Add a --linker command-line option, make all tests pass.
[oota-llvm.git] / test / LLVMC / hello.cpp
1 // Test that we can compile C++ code.
2 // RUN: llvmc2 --linker=c++ %s -o %t
3 // RUN: ./%t | grep hello
4 #include <iostream>
5
6 int main() {
7     std::cout << "hello" << '\n';
8 }