Manuel Klimek | cb971c6 | 2012-04-04 12:07:46 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
| 2 | // RUN: mkdir %t |
NAKAMURA Takumi | 8cf93ec | 2012-05-23 22:24:27 +0000 | [diff] [blame] | 3 | // RUN: echo '[{"directory":".","command":"clang++ -c %t/test.cpp","file":"%t/test.cpp"}]' | sed -e 's/\\/\//g' > %t/compile_commands.json |
Manuel Klimek | cb971c6 | 2012-04-04 12:07:46 +0000 | [diff] [blame] | 4 | // RUN: cp "%s" "%t/test.cpp" |
Manuel Klimek | 8fa2fb8 | 2012-07-10 13:10:51 +0000 | [diff] [blame] | 5 | // RUN: clang-check -p "%t" "%t/test.cpp" 2>&1|FileCheck %s |
Manuel Klimek | cb971c6 | 2012-04-04 12:07:46 +0000 | [diff] [blame] | 6 | // FIXME: Make the above easier. |
| 7 | |
Manuel Klimek | 970b226 | 2012-04-10 12:12:33 +0000 | [diff] [blame] | 8 | // CHECK: C++ requires |
| 9 | invalid; |
NAKAMURA Takumi | 1de76ba | 2012-05-16 22:14:14 +0000 | [diff] [blame] | 10 | |
NAKAMURA Takumi | 8cf93ec | 2012-05-23 22:24:27 +0000 | [diff] [blame] | 11 | // FIXME: This is incompatible to -fms-compatibility. |
NAKAMURA Takumi | 1de76ba | 2012-05-16 22:14:14 +0000 | [diff] [blame] | 12 | // XFAIL: win32 |