Daniel Dunbar | 77e0c85 | 2008-11-08 03:25:47 +0000 | [diff] [blame] | 1 | // Test that we can compile Objective-C++ code. |
Mikhail Glushenkov | 113ec35 | 2008-11-25 21:38:12 +0000 | [diff] [blame] | 2 | // RUN: llvmc %s -o %t |
Daniel Dunbar | 77e0c85 | 2008-11-08 03:25:47 +0000 | [diff] [blame] | 3 | // RUN: ./%t | grep hello |
4 | #include <iostream> | ||||
5 | |||||
6 | int main() { | ||||
7 | std::cout << "hello" << '\n'; | ||||
8 | } |