Rebase.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / error50.C
blobf9c42dd7e41a88de70980d0d504144bdd327a5a4
1 // PR c++/18747
3 template<> int i;   // { dg-error "template" }
5 struct A
7   static int i;
8 };
10 template<> int A::i;     // { dg-error "template" }
12 template <class T>
13 struct B
15   static T i;
18 template<> template <> int B<int>::i; // { dg-error "template|should be 1" }