| Daniel Dunbar | f4408a2 | 2009-11-12 01:36:20 +0000 | [diff] [blame] | 1 | // Check that -E mode is invariant when using an implicit PCH. | 
| Douglas Gregor | 45fe036 | 2009-05-12 01:31:05 +0000 | [diff] [blame] | 2 |  | 
| Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 3 | // RUN: %clang_cc1 -include %S/preprocess.h -E -o %t.orig %s | 
|  | 4 | // RUN: %clang_cc1 -emit-pch -o %t %S/preprocess.h | 
|  | 5 | // RUN: %clang_cc1 -include-pch %t -E -o %t.from_pch %s | 
| Daniel Dunbar | f4408a2 | 2009-11-12 01:36:20 +0000 | [diff] [blame] | 6 | // RUN: diff %t.orig %t.from_pch | 
|  | 7 |  | 
|  | 8 | a_typedef a_value; |