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