zpu: managed to compile program that writes constant to global variable
[llvm/zpu.git] / test / LLVMC / C++ / unknown_suffix.unk
blobbf4aea286247369e6e1f08692d848442951132fd
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>
7 int main() {
8     std::cout << "hello" << '\n';