| Daniel Dunbar | 6019672 | 2009-03-20 19:38:56 +0000 | [diff] [blame] | 1 | // Test transparent PTH support. |
| 2 | |||||
| 3 | // RUN: clang-driver -x c-header %s -o %t.h.pch -### &> %t.log && | ||||
| 4 | // RUN: grep '".*/clang" .* "-o" ".*\.h\.pch" "-x" "c-header" ".*pth\.c"' %t.log && | ||||
| 5 | |||||
| 6 | // RUN: touch %t.h.pth && | ||||
| 7 | // RUN: clang-driver -E -include %t.h %s -### &> %t.log && | ||||
| 8 | // RUN: grep '".*/clang" .*"-include-pth" ".*\.h\.pth" .*"-x" "c" ".*pth\.c"' %t.log | ||||