aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/instantiate2.C
blob: a5c6c49d16f24aff815e6a0241a11524735318e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link:

template<class T>
struct X_two {
  template <class T2> T2 conv_compare_ge(T2 test) {
    T2 tmp_value = T2 (0);
    return (tmp_value > test ? tmp_value : test);
  }
};

template int X_two<double>::conv_compare_ge(int);