OSDN Git Service

PR middle-end/52419
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c90-typedef-1.c
1 /* Test typedef redeclaration not permitted in C90.  */
2 /* { dg-do compile } */
3 /* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
4
5 typedef int TI; /* { dg-message "previous declaration" } */
6 typedef int TI; /* { dg-error "redefinition of typedef" } */