2008-05-06 19:24:54 +02:00
|
|
|
// Check that we can compile files of different types together.
|
2008-05-06 20:16:20 +02:00
|
|
|
// RUN: llvmc2 %s %p/test_data/together.c -o %t
|
2008-05-06 19:24:54 +02:00
|
|
|
// RUN: ./%t | grep hello
|
|
|
|
|
|
|
|
extern "C" void test();
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
test();
|
|
|
|
}
|