1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/LLVMC/together.cpp
2008-11-25 21:38:12 +00:00

10 lines
188 B
C++

// Check that we can compile files of different types together.
// RUN: llvmc %s %p/test_data/together.c -o %t
// RUN: ./%t | grep hello
extern "C" void test();
int main() {
test();
}