bf4aea286247369e6e1f08692d848442951132fd
[oota-llvm.git] / test / LLVMC / C++ / unknown_suffix.unk
1 // Test that the -x option works for files with unknown suffixes.
2 // RUN: llvmc -x c++ %s -o %t
3 // RUN: %abs_tmp | grep hello
4 // XFAIL: vg
5 #include <iostream>
6
7 int main() {
8     std::cout << "hello" << '\n';
9 }