view gcc/testsuite/g++.dg/cpp0x/inh-ctor34.C @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

// PR c++/92594
// { dg-do compile { target c++11 } }

template <typename _Head> struct tuple {
  tuple() : _M_head_impl() {}
  _Head _M_head_impl;
};
template <typename type0> struct pod_tuple { type0 _head; };
struct e {};
struct bar : e {
  using e::e;
};
int main() { tuple<pod_tuple<bar>> a; }