2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / template / spec6.C
blob915b8331252140d952ea44f7ae2d12e7588f1bb5
1 template <bool, int> struct X {};
3 template <bool C>    struct X<C,1> {
4     typedef double* type;
5     type foo () const;
6 };
8 template <bool C>
9 typename X<C,1>::type
10 X<C,1>::foo () const {}