summaryrefslogtreecommitdiff
path: root/test/LLVMC/C++/unknown_suffix.unk
blob: bf4aea286247369e6e1f08692d848442951132fd (plain)
1
2
3
4
5
6
7
8
9
// Test that the -x option works for files with unknown suffixes.
// RUN: llvmc -x c++ %s -o %t
// RUN: %abs_tmp | grep hello
// XFAIL: vg
#include <iostream>

int main() {
    std::cout << "hello" << '\n';
}