summaryrefslogtreecommitdiffstats
path: root/test/PCH/preprocess.c
blob: 8bf841f17f8dcaac7d7d18a50cc3ceffa719c035 (plain)
1
2
3
4
5
6
7
8
// Check that -E mode is invariant when using an implicit PCH.

// RUN: %clang_cc1 -include %S/preprocess.h -E -o %t.orig %s
// RUN: %clang_cc1 -emit-pch -o %t %S/preprocess.h
// RUN: %clang_cc1 -include-pch %t -E -o %t.from_pch %s
// RUN: diff %t.orig %t.from_pch

a_typedef a_value;