2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / deduct4.C
blob02d6b2c3191b39d4808bc38b933cc6d7e8c89951
1 // { dg-do run  }
2 // Test that we can deduce t even though T is deduced from a later argument.
4 template <int I> struct A { };
6 template <class T, T t> void f (A<t> &, T) { }
8 int main ()
10   A<42> a;
11   f (a, 24);