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