blob: 4598da05cd02968817c01c42434c2c26453e6be5 [file] [log] [blame]
Daniel Dunbar8fbe78f2009-12-15 20:14:24 +00001// RUN: %clang_cc1 -verify %s
Andy Gibbsc6e68da2012-10-19 12:44:48 +00002// expected-no-diagnostics
Fariborz Jahaniand52cd412007-10-12 16:34:10 +00003
4typedef int Object;
5
6struct Object {int i1; } *P;
7
8void foo() {
9 struct Object { int i2; } *X;
10 Object:
11 {
12 Object a;
13 }
14}
15