| 1 |
// PR c++/55249 |
| 2 |
|
| 3 |
template <typename _Tp> struct A |
| 4 |
{ |
| 5 |
_Tp _M_instance[1]; |
| 6 |
}; |
| 7 |
template <class> struct inner_type |
| 8 |
{ |
| 9 |
inner_type () {} |
| 10 |
inner_type (inner_type &); |
| 11 |
inner_type (const inner_type &) {} |
| 12 |
}; |
| 13 |
|
| 14 |
int |
| 15 |
main () |
| 16 |
{ |
| 17 |
A <inner_type <int> > a, b = a; |
| 18 |
} |