mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
3534026221
llvm-svn: 50759
9 lines
158 B
C++
9 lines
158 B
C++
// Test that we can compile C++ code.
|
|
// RUN: llvmc2 %s -o %t
|
|
// RUN: ./%t | grep hello
|
|
#include <iostream>
|
|
|
|
int main() {
|
|
std::cout << "hello" << '\n';
|
|
}
|