2008-05-07 01:24:54 +08:00
|
|
|
// Check that we can compile files of different types together.
|
2009-09-13 09:39:08 +08:00
|
|
|
// RUN: llvmc %s %p/../test_data/together.c -o %t
|
2009-09-13 09:40:48 +08:00
|
|
|
// RUN: %abs_tmp | grep hello
|
2008-05-07 01:24:54 +08:00
|
|
|
|
|
|
|
extern "C" void test();
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
test();
|
|
|
|
}
|