llvm-project/llvm/test/LLVMC/C++/unknown_suffix.unk

10 lines
209 B
Plaintext

// 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';
}