blob: 28910e3e39c4f51ad4bafcf1285bc2425a95c49f [file] [log] [blame]
Manuel Klimek16dc2612012-04-09 19:10:04 +00001// RUN: rm -rf %t
2// RUN: mkdir %t
3// RUN: echo '[{"directory":".","command":"clang++ -c %t/test.cpp","file":"%t/test.cpp"}]' > %t/compile_commands.json
4// RUN: cp "%s" "%t/test.cpp"
5// RUN: PWD="%t" clang-check "%t" "test.cpp" 2>&1|FileCheck %s
6// FIXME: Make the above easier.
7
8invalid; // CHECK: C++ requires
9
10// FIXME: JSON doesn't like path separator '\', on Win32 hosts.
11// FIXME: clang-check doesn't like gcc driver on cygming.
12// XFAIL: cygwin,mingw32,win32