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