hanchenye-llvm-project/llvm/test/LLVMC/together.cpp

10 lines
189 B
C++
Raw Normal View History

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