pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / test / LLVMC / C++ / dash-x.cpp
blobb32400e0b0397d3ab712c671ec5deacd1b66cf8b
1 // Test that we can compile .c files as C++ and vice versa
2 // RUN: llvmc %s -x c++ %p/../test_data/false.c -x c %p/../test_data/false.cpp -x lisp -x whatnot -x none %p/../test_data/false2.cpp -o %t
3 // RUN: %abs_tmp | grep hello
5 extern int test_main();
7 int main() {
8 test_main();