| 1 | // RUN: %clang_cc1 -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | typedef int Object; |
| 5 | |
| 6 | struct Object {int i1; } *P; |
| 7 | |
| 8 | void foo() { |
| 9 | struct Object { int i2; } *X; |
| 10 | Object: |
| 11 | { |
| 12 | Object a; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 |
| 1 | // RUN: %clang_cc1 -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | typedef int Object; |
| 5 | |
| 6 | struct Object {int i1; } *P; |
| 7 | |
| 8 | void foo() { |
| 9 | struct Object { int i2; } *X; |
| 10 | Object: |
| 11 | { |
| 12 | Object a; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 |