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