mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-24 04:32:09 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60048 91177308-0d34-0410-b5e6-96231b3b80d8
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';
|
|
}
|