repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git]
/
test
/
LLVMC
/
C++
/
just-compile.cpp
blob
771c9822da69ec6f31121e0ebb88c5cf07f713dc
1
// Test that the -c flag works.
2
// RUN: llvmc -c %s -o %t.o
3
// RUN: llvmc --linker=c++ %t.o -o %t
4
// RUN: %abs_tmp | grep hello
5
// XFAIL: vg
6
#include <iostream>
7
8
int
main
() {
9
std
::
cout
<<
"hello"
<<
'
\n
'
;
10
}