llvm-for-llvmta/tools/clang/test/Parser/namelookup-bug-2.c

16 lines
186 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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;
}
}