2012-07-10 21:10:51 +08:00
|
|
|
// RUN: rm -rf %t
|
|
|
|
// RUN: mkdir %t
|
|
|
|
// RUN: echo "[{\"directory\":\".\",\"command\":\"clang++ -c %t/test.cpp\",\"file\":\"%t/test.cpp\"}]" | sed -e 's/\\/\\\\/g' > %t/compile_commands.json
|
|
|
|
// RUN: cp "%s" "%t/test.cpp"
|
|
|
|
// RUN: clang-check "%t/test.cpp" 2>&1 | FileCheck %s
|
|
|
|
|
|
|
|
// CHECK: C++ requires
|
|
|
|
invalid;
|
2012-07-10 22:21:30 +08:00
|
|
|
|
|
|
|
// REQUIRES: shell
|
2013-03-26 02:56:45 +08:00
|
|
|
// PR15590
|
2013-03-23 01:42:39 +08:00
|
|
|
// XFAIL: win64
|