1 2 3 4 5 6 7 8 9 10
// Test that the -c flag works. // RUN: llvmc -c %s -o %t.o // RUN: llvmc --linker=c++ %t.o -o %t // RUN: %abs_tmp | grep hello // XFAIL: vg #include <iostream> int main() { std::cout << "hello" << '\n'; }