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

11 lines
208 B
C++

// 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
// XFAIL: vg
extern "C" void test();
int main() {
test();
}