2012-04-10 03:10:04 +08:00
|
|
|
// RUN: rm -rf %t
|
|
|
|
// RUN: mkdir %t
|
2012-05-24 06:24:27 +08:00
|
|
|
// RUN: echo "[{\"directory\":\".\",\"command\":\"clang++ -c %t/test.cpp\",\"file\":\"%t/test.cpp\"}]" | sed -e 's/\\/\\\\/g' > %t/compile_commands.json
|
2012-04-10 03:10:04 +08:00
|
|
|
// RUN: cp "%s" "%t/test.cpp"
|
2012-07-10 21:10:51 +08:00
|
|
|
// RUN: PWD="%t" clang-check -p "%t" "test.cpp" 2>&1|FileCheck %s
|
2012-04-10 03:10:04 +08:00
|
|
|
// FIXME: Make the above easier.
|
|
|
|
|
2012-04-10 20:12:33 +08:00
|
|
|
// CHECK: C++ requires
|
|
|
|
invalid;
|
2012-04-10 03:10:04 +08:00
|
|
|
|
2012-05-17 01:37:56 +08:00
|
|
|
// REQUIRES: shell
|
2013-03-26 02:56:45 +08:00
|
|
|
// PR15590
|
2013-03-23 01:42:39 +08:00
|
|
|
// XFAIL: win64
|