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