| Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -verify %s |
| Fariborz Jahanian | bece4ac | 2007-10-12 16:34:10 +0000 | [diff] [blame] | 2 | |
| 3 | typedef int Object; | ||||
| 4 | |||||
| 5 | struct Object {int i1; } *P; | ||||
| 6 | |||||
| 7 | void foo() { | ||||
| 8 | struct Object { int i2; } *X; | ||||
| 9 | Object: | ||||
| 10 | { | ||||
| 11 | Object a; | ||||
| 12 | } | ||||
| 13 | } | ||||
| 14 | |||||