gcc/testsuite/g++.dg/cpp0x/inh-ctor34.C
raw| 1 | // PR c++/92594 |
| 2 | // { dg-do compile { target c++11 } } |
| 3 | |
| 4 | template <typename _Head> struct tuple { |
| 5 | tuple() : _M_head_impl() {} |
| 6 | _Head _M_head_impl; |
| 7 | }; |
| 8 | template <typename type0> struct pod_tuple { type0 _head; }; |
| 9 | struct e {}; |
| 10 | struct bar : e { |
| 11 | using e::e; |
| 12 | }; |
| 13 | int main() { tuple<pod_tuple<bar>> a; } |