llvm-6502/test/LLVMC/C++/hello.cpp
2009-09-13 01:40:48 +00:00

9 lines
161 B
C++

// Test that we can compile C++ code.
// RUN: llvmc %s -o %t
// RUN: %abs_tmp | grep hello
#include <iostream>
int main() {
std::cout << "hello" << '\n';
}