OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / unify1.C
1 // { dg-do assemble  }
2 // Tests non-unification of parms that don't use template parms.
3
4 enum kind {a, b};
5
6 class C { public: C () {} };
7
8 template<class P>
9 void f (P c, kind k) {}
10
11 template<class P>
12 void f (P c, P d, kind k) {}
13
14 template void f (C c, C, kind k);