tests: Use %abs_tmp instead of ./%t to make these tests portable to 'lit'.
[oota-llvm.git] / test / LLVMC / ObjC++ / hello.mm
1 // Test that we can compile Objective-C++ code.
2 // RUN: llvmc %s -o %t
3 // RUN: %abs_tmp | grep hello
4 #include <iostream>
5
6 int main() {
7     std::cout << "hello" << '\n';
8 }