| 1 |
// { dg-do assemble } |
| 2 |
// The compiler tried to build up a double with a NOP_EXPR from |
| 3 |
// integer_zero_node, which fails. |
| 4 |
|
| 5 |
template <class T> |
| 6 |
class vector { |
| 7 |
public: |
| 8 |
vector (int n, const T& value = T()) {} |
| 9 |
}; |
| 10 |
|
| 11 |
void |
| 12 |
foo (void) |
| 13 |
{ |
| 14 |
vector<double> v (10); |
| 15 |
} |