3 // Template-members of non-template class
6 template <typename t> // { dg-error "shadows" }
9 int t = 1; // { dg-error "declaration" }
16 template <typename t> // { dg-error "shadows" }
19 int t = 2; // { dg-error "declaration" }
22 // (Non-template) Members of template class
23 template <typename t> // { dg-error "shadows" }
28 int t = 3; // { dg-error "declaration" }
34 template <typename t> // { dg-error "shadows" }
37 int t = 4; // { dg-error "declaration" }
40 // Template members of template class
41 template <typename t> // { dg-error "shadows" }
44 template <typename s> // { dg-error "shadows" }
47 int t = 5; // { dg-error "declaration" }
48 int s = 6; // { dg-error "declaration" }
55 template <typename t> // { dg-error "shadows" }
56 template <typename s> // { dg-error "shadows" }
59 int t = 7; // { dg-error "declaration" }
60 int s = 8; // { dg-error "declaration" }