xref: /llvm-project/clang/test/Parser/namelookup-bug-2.c (revision 25098736c1b6a716711a64fa45f7f34ccdbef6d1)
1 // RUN: %clang_cc1 -verify %s
2 // expected-no-diagnostics
3 
4 typedef int Object;
5 
6 struct Object {int i1; } *P;
7 
foo(void)8 void foo(void) {
9  struct Object { int i2; } *X;
10   Object:
11  {
12     Object a;
13  }
14 }
15 
16