2012-04-04 20:07:46 +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-04 20:07:46 +08:00
|
|
|
// RUN: cp "%s" "%t/test.cpp"
|
2012-07-10 21:10:51 +08:00
|
|
|
// RUN: clang-check -p "%t" "%t/test.cpp" 2>&1|FileCheck %s
|
2012-04-04 20:07:46 +08:00
|
|
|
// FIXME: Make the above easier.
|
|
|
|
|
2012-04-10 20:12:33 +08:00
|
|
|
// CHECK: C++ requires
|
|
|
|
invalid;
|
2012-05-17 06:14:14 +08:00
|
|
|
|
2012-05-24 06:24:27 +08:00
|
|
|
// FIXME: This is incompatible to -fms-compatibility.
|
2012-05-17 06:14:14 +08:00
|
|
|
// XFAIL: win32
|