blob: 09f8d86379cbfc5e9f6eafcf253c2f0a1a5303ca [file] [log] [blame]
Mikhail Glushenkov3c30e6c2008-05-06 17:24:54 +00001// Check that we can compile files of different types together.
Mikhail Glushenkov2e9e0c22008-05-06 18:16:20 +00002// RUN: llvmc2 %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}