summaryrefslogtreecommitdiffstats
path: root/test/Parser/namelookup-bug-2.c
blob: 4598da05cd02968817c01c42434c2c26453e6be5 (plain)
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;
 }
}