1 // RUN: %clang_cc1 %s -include %s
2 // RUN: %clang_cc1 %s -emit-pch -o %t.pch
3 // RUN: %clang_cc1 %s -include-pch %t.pch
5 // rdar://12239321 Make sure we don't emit a bogus
6 // error: field designator 'e' does not refer to a non-static data member
10 //===----------------------------------------------------------------------===//
23 //===----------------------------------------------------------------------===//
26 # error Header inclusion order messed up
28 //===----------------------------------------------------------------------===//
31 static const struct U plan
= { .e
= 1 };
34 //===----------------------------------------------------------------------===//