blob: de10e4a4fb9f160194b77afe6ef510f9720f5e63 [file] [log] [blame]
Manuel Klimekcb971c62012-04-04 12:07:46 +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: 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 Takumie23d0b22012-04-04 14:35:23 +000010
11// FIXME: JSON doesn't like path separator '\', on Win32 hosts.
NAKAMURA Takumi371a0c82012-04-04 23:23:19 +000012// FIXME: clang-check doesn't like gcc driver on cygming.
13// XFAIL: cygwin,mingw32,win32