| 1 |
// { dg-do assemble } |
| 2 |
|
| 3 |
template<class T> |
| 4 |
struct X_two { |
| 5 |
template <class T2> T2 conv_compare_ge(T2 test) { |
| 6 |
T2 tmp_value = T2 (0); |
| 7 |
return (tmp_value > test ? tmp_value : test); |
| 8 |
} |
| 9 |
}; |
| 10 |
|
| 11 |
template int X_two<double>::conv_compare_ge(int); |
| 12 |
|