Sign in
llvm
/
llvm
/
refs/heads/release_26
/
.
/
test
/
LLVMC
/
hello.cpp
blob: 27c89d66fa73fd488c425a876e937bd41017df03 [
file
] [
log
] [
blame
]
// Test that we can compile C++ code.
// RUN: llvmc %s -o %t
// RUN: ./%t | grep hello
#include
<iostream>
int
main
()
{
std
::
cout
<<
"hello"
<<
'\n'
;
}