llvm-project/clang/test/Parser/namelookup-bug-2.c

16 lines
186 B
C

// 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;
}
}