Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
c1f738d22cf05294eac8c6344079c9b821cb4a14
/
.
/
test
/
LLVMC
/
hello.cpp
blob: a3148c3c164f1facaf6cc2ab5bcf34547a67d486 [
file
] [
log
] [
blame
]
Mikhail Glushenkov
0ed7920
2008-05-06 18:11:21 +0000
[
diff
] [
blame
]
1
// Test that we can compile C++ code.
2
// RUN: llvmc2 %s -o %t
3
// RUN: ./%t | grep hello
4
#include
<iostream>
5
6
int
main
()
{
7
std
::
cout
<<
"hello"
<<
'\n'
;
8
}