blob: 62ff821154de16464fde2ce4ae1882f3b5d38af7 [file] [log] [blame]
Mikhail Glushenkoved205692008-05-06 17:24:54 +00001// 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
6extern "C" void test();
7
8int main() {
9 test();
10}