Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git] / gcc / testsuite / objc.dg / id-1.m
blobceb4d898131cc27947892bf488cf9a3b49000fef
1 /* Test attempt to redefine 'id' in an incompatible fashion.  */
2 /* { dg-do compile } */
4 typedef int id;  /* { dg-error "conflicting types for .id." } */
5 /* { dg-error "previous declaration of .id. was here" "" { target *-*-* } 0 } */
7 id b;