mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
89bfeb825b
llvm-svn: 60048
9 lines
157 B
C++
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';
|
|
}
|