llvm/test/LLVMC/hello.cpp
2008-11-25 21:38:12 +00:00

9 lines
157 B
C++

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