projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Covert this test to .s form.
[oota-llvm.git]
/
test
/
LLVMC
/
C++
/
just-compile.cpp
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
}