blob: 3fdcb8017b78c4c5f67c741c1b5164daff7c4ee9 [file] [log] [blame]
// Test transparent PTH support.
// RUN: clang-driver -x c-header %s -o %t.h.pch -### 2> %t.log &&
// RUN: grep '".*/clang-cc" .* "-o" ".*\.h\.pch" "-x" "c-header" ".*pth\.c"' %t.log &&
// RUN: touch %t.h.pth &&
// RUN: clang-driver -E -include %t.h %s -### 2> %t.log &&
// RUN: grep '".*/clang-cc" .*"-include-pth" ".*\.h\.pth" .*"-x" "c" ".*pth\.c"' %t.log