blob: 27c89d66fa73fd488c425a876e937bd41017df03 [file] [log] [blame]
Mikhail Glushenkov0ed79202008-05-06 18:11:21 +00001// Test that we can compile C++ code.
Mikhail Glushenkovc7e56fe2008-11-25 21:38:12 +00002// RUN: llvmc %s -o %t
Mikhail Glushenkov0ed79202008-05-06 18:11:21 +00003// RUN: ./%t | grep hello
4#include <iostream>
5
6int main() {
7 std::cout << "hello" << '\n';
8}