Mikhail Glushenkov | ed20569 | 2008-05-06 17:24:54 +0000 | [diff] [blame] | 1 | // Check that we can compile files of different types together. |
Mikhail Glushenkov | e1a95f3 | 2008-05-06 18:16:20 +0000 | [diff] [blame^] | 2 | // RUN: llvmc2 %s %p/test_data/together.c -o %t |
Mikhail Glushenkov | ed20569 | 2008-05-06 17:24:54 +0000 | [diff] [blame] | 3 | // RUN: ./%t | grep hello |
4 | |||||
5 | extern "C" void test(); | ||||
6 | |||||
7 | int main() { | ||||
8 | test(); | ||||
9 | } |