Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git] / test / LLVMC / C++ / dash-x.cpp
blob7d4cf19fa41d1202a26ce4c16fd09f68835bd975
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
6 extern int test_main();
8 int main() {
9 test_main();