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

10 lines
195 B
C++
Raw Normal View History

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