blob: bd35348af997a96c9a66efa139db9cf62520e91b [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
8invalid; // CHECK: C++ requires
NAKAMURA Takumie23d0b22012-04-04 14:35:23 +00009
10// FIXME: JSON doesn't like path separator '\', on Win32 hosts.
NAKAMURA Takumi371a0c82012-04-04 23:23:19 +000011// FIXME: clang-check doesn't like gcc driver on cygming.
12// XFAIL: cygwin,mingw32,win32