2009-03-21 03:38:56 +08:00
|
|
|
// Test transparent PTH support.
|
|
|
|
|
2009-03-24 11:07:05 +08:00
|
|
|
// RUN: clang -x c-header %s -o %t.h.pch -### 2> %t.log &&
|
2009-03-24 10:24:46 +08:00
|
|
|
// RUN: grep '".*/clang-cc" .* "-o" ".*\.h\.pch" "-x" "c-header" ".*pth\.c"' %t.log &&
|
2009-03-21 03:38:56 +08:00
|
|
|
|
|
|
|
// RUN: touch %t.h.pth &&
|
2009-03-24 11:07:05 +08:00
|
|
|
// RUN: clang -E -include %t.h %s -### 2> %t.log &&
|
2009-03-24 10:24:46 +08:00
|
|
|
// RUN: grep '".*/clang-cc" .*"-include-pth" ".*\.h\.pth" .*"-x" "c" ".*pth\.c"' %t.log
|