Rebase.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / unify3.C
blob848aca763614af38d0da351e150fdaaf5096e075
1 // { dg-do assemble  }
3 template <class T1, class T2>
4 struct ComputeBinaryType
6 };
8 template<class T1>
9 struct ComputeBinaryType<T1, double> {
10   void g();
13 template<class T1>
14 struct ComputeBinaryType<T1&, double> {
15   void h();
18 void f()
19
20   ComputeBinaryType<double, double> cb;
21   cb.g();