blob: 8ef3f3d01734695a95663b37243791bfc6d3858b [file] [log] [blame]
Arnaud A. de Grandmaison617f5262012-07-10 16:56:35 +00001// RUN: rm -rf %t
2// RUN: mkdir -p %t/abc/def
3// RUN: echo "[{\"directory\":\".\",\"command\":\"clang++ -c %t/test.cpp\",\"file\":\"%t/test.cpp\"}]" | sed -e 's/\\/\\\\/g' > %t/compile_commands.json
4// RUN: cp "%s" "%t/test.cpp"
Rafael Espindola925213b2013-07-04 16:16:58 +00005// RUN: not clang-check -p "%t/abc/def" "%t/test.cpp" 2>&1|FileCheck %s
Arnaud A. de Grandmaison617f5262012-07-10 16:56:35 +00006// FIXME: Make the above easier.
7
8// CHECK: C++ requires
9invalid;
10
11// REQUIRES: shell
Fariborz Jahanianb0d81f82013-03-25 18:56:45 +000012// PR15590
Fariborz Jahanianc56ae1b2013-03-22 17:42:39 +000013// XFAIL: win64