blob: b07250e9d0b3ead139816baa914a23fff8d7fa19 [file] [log] [blame]
Mikhail Glushenkov3c30e6c2008-05-06 17:24:54 +00001// Check that we can compile files of different types together.
Mikhail Glushenkov113ec352008-11-25 21:38:12 +00002// RUN: llvmc %s %p/test_data/together.c -o %t
Mikhail Glushenkov3c30e6c2008-05-06 17:24:54 +00003// RUN: ./%t | grep hello
4
5extern "C" void test();
6
7int main() {
8 test();
9}