OSDN Git Service

2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / objc.dg / id-1.m
1 /* Test attempt to redefine 'id' in an incompatible fashion.  */
2 /* { dg-do compile } */
3
4 typedef int id;  /* { dg-error "conflicting types for .id." } */
5 /* { dg-error "previous declaration of .id. was here" "" { target *-*-* } 0 } */
6
7 id b;