projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
First small tests for llvmc2.
[oota-llvm.git]
/
test
/
LLVMC
/
together.cpp
1
// Check that we can compile files of different types together.
2
// TOFIX: compiling files with same names should work.
3
// RUN: llvmc2 %s %p/together1.c -o %t
4
// RUN: ./%t | grep hello
5
6
extern "C" void test();
7
8
int main() {
9
test();
10
}