opnsense-src/test/PCH/preprocess.c

9 lines
285 B
C
Raw Normal View History

2009-11-18 09:59:57 -05:00
// Check that -E mode is invariant when using an implicit PCH.
2009-06-02 13:58:47 -04:00
2010-01-01 05:34:51 -05:00
// 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
2009-11-18 09:59:57 -05:00
// RUN: diff %t.orig %t.from_pch
a_typedef a_value;