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 | c7e56fe | 2008-11-25 21:38:12 +0000 | [diff] [blame] | 2 | // RUN: llvmc %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 | } |