8f38306e9e961c78438795b977218ffac0a8b1fb
[oota-llvm.git] / test / LLVMC / C++ / hello.cpp
1 // Test that we can compile C++ code.
2 // RUN: llvmc %s -o %t
3 // RUN: %abs_tmp | grep hello
4 // XFAIL: vg
5 #include <iostream>
6
7 int main() {
8     std::cout << "hello" << '\n';
9 }