namelookup-bug-2.c 186 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // RUN: %clang_cc1 -verify %s // expected-no-diagnostics typedef int Object; struct Object {int i1; } *P; void foo() { struct Object { int i2; } *X; Object: { Object a; } }