2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -verify %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2007-10-13 00:34:10 +08:00
|
|
|
|
|
|
|
typedef int Object;
|
|
|
|
|
|
|
|
struct Object {int i1; } *P;
|
|
|
|
|
|
|
|
void foo() {
|
|
|
|
struct Object { int i2; } *X;
|
|
|
|
Object:
|
|
|
|
{
|
|
|
|
Object a;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|