62ff821154de16464fde2ce4ae1882f3b5d38af7
[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 }