2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / parse / invalid-op1.C
blob37e480983f82861e0fa324559dcc277b53925a08
1 // PR c++/10150
2 // Origin: Tom Evans <te200@eng.cam.ac.uk>
3 // { dg-do compile }
5 template <int I> struct A
7     template <int> struct B
8     {
9         enum { e = I * A<I-1>::B }; // { dg-error "" }
10     };
13 A<0>::B<0> a; // { dg-error "instantiated" }