summaryrefslogtreecommitdiff
path: root/test/Parser/namelookup-bug-2.c
blob: 42298c39c46fb9962fc68523cb2eda88905c1371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: clang-cc -verify %s

typedef int Object;

struct Object {int i1; } *P;

void foo() {
 struct Object { int i2; } *X;
  Object:
 {
    Object a;
 }
}