1 // RUN: %clang_cc1 -verify %s
2 
3 typedef struct s { int x; } s;
4 typedef int I;
5 typedef int I2;
6 typedef I2 I; // expected-note {{previous definition is here}}
7 
8 typedef char I; // expected-error {{typedef redefinition with different types}}
9