blob: 8bf841f17f8dcaac7d7d18a50cc3ceffa719c035 [file] [log] [blame]
Daniel Dunbar1ea52942009-11-12 01:36:20 +00001// Check that -E mode is invariant when using an implicit PCH.
Douglas Gregorb64c1932009-05-12 01:31:05 +00002
Daniel Dunbara5728872009-12-15 20:14:24 +00003// 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 Dunbar1ea52942009-11-12 01:36:20 +00006// RUN: diff %t.orig %t.from_pch
7
8a_typedef a_value;