llvm/test/LLVMC/together.cpp
Mikhail Glushenkov 3c30e6c653 First small tests for llvmc2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50734 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-06 17:24:54 +00:00

11 lines
235 B
C++

// Check that we can compile files of different types together.
// TOFIX: compiling files with same names should work.
// RUN: llvmc2 %s %p/together1.c -o %t
// RUN: ./%t | grep hello
extern "C" void test();
int main() {
test();
}