1// RUN: %clang_cc1 -verify %s
2// expected-no-diagnostics
3
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
16