// PR c++/30863 template struct s {}; void f() { unsigned s x; // { dg-error "invalid" } }