summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/instantiate2.C
blob: 60d5bd52cb074a8a513cac27dcbb7d88fdb7a621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }

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);