blob: 1920f3b51918eb41123b63df75c86ba44a661708 (
plain)
1
2
3
4
5
6
|
/* Test typedef redeclaration not permitted in C90. */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
typedef int TI; /* { dg-message "previous declaration" } */
typedef int TI; /* { dg-error "redefinition of typedef" } */
|