OSDN Git Service

* gcc.dg/tm/memopt-6.c: Cleanup tmedge tree dump.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / spec4.C
1 // { dg-do compile }
2 // Origin: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3
4 // PR c++/2863
5 // Default function argument and template specialization.
6
7 struct X {
8   template <int dim> void f(int=0);
9 };
10
11 template <> void X::f<1> () {}  // { dg-error "(not match|declaration)" }