1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-30 17:33:24 +00:00
llvm-6502/test/LLVMC/together.cpp
2008-05-06 18:16:20 +00:00

10 lines
189 B
C++

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