blob: ff90b8841738ad69031f6d191187718d782e0be3 [file] [log] [blame]
Manuel Klimekcb971c62012-04-04 12:07:46 +00001// RUN: rm -rf %t
2// RUN: mkdir %t
NAKAMURA Takumi8cf93ec2012-05-23 22:24:27 +00003// RUN: echo '[{"directory":".","command":"clang++ -c %t/test.cpp","file":"%t/test.cpp"}]' | sed -e 's/\\/\//g' > %t/compile_commands.json
Manuel Klimekcb971c62012-04-04 12:07:46 +00004// RUN: cp "%s" "%t/test.cpp"
5// RUN: clang-check "%t" "%t/test.cpp" 2>&1|FileCheck %s
6// FIXME: Make the above easier.
7
Manuel Klimek970b2262012-04-10 12:12:33 +00008// CHECK: C++ requires
9invalid;
NAKAMURA Takumi1de76ba2012-05-16 22:14:14 +000010
NAKAMURA Takumi8cf93ec2012-05-23 22:24:27 +000011// FIXME: This is incompatible to -fms-compatibility.
NAKAMURA Takumi1de76ba2012-05-16 22:14:14 +000012// XFAIL: win32