Sign in
llvm
/
llvm
/
refs/heads/release_29
/
.
/
test
/
LLVMC
/
C++
/
just-compile.cpp
blob: 771c9822da69ec6f31121e0ebb88c5cf07f713dc [
file
] [
log
] [
blame
]
// Test that the -c flag works.
// RUN: llvmc -c %s -o %t.o
// RUN: llvmc --linker=c++ %t.o -o %t
// RUN: %abs_tmp | grep hello
// XFAIL: vg
#include
<iostream>
int
main
()
{
std
::
cout
<<
"hello"
<<
'\n'
;
}