OSDN Git Service

2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / spec6.C
1 template <bool, int> struct X {};
2
3 template <bool C>    struct X<C,1> {
4     typedef double* type;
5     type foo () const;
6 };
7
8 template <bool C>
9 typename X<C,1>::type
10 X<C,1>::foo () const {}