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 4 // XFAIL: vg 5 6 extern int test_main(); 7 main()8int main() { 9 test_main(); 10 } 11