Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / c90-typedef-1.c
blob1920f3b51918eb41123b63df75c86ba44a661708
1 /* Test typedef redeclaration not permitted in C90. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
5 typedef int TI; /* { dg-message "previous declaration" } */
6 typedef int TI; /* { dg-error "redefinition of typedef" } */