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

typedef int Object;

struct Object {int i1; } *P;

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