llvm-6502/test/LLVMC/C++/unknown_suffix.unk
Mikhail Glushenkov e6334d84f7 llvmc: make -x work with unknown suffixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113972 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-15 15:20:41 +00:00

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