Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp0x/inh-ctor4.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// From N3337 // { dg-do compile { target c++11 } } struct B1 { B1(int); }; struct B2 { B2(int = 13, int = 42); }; struct D1 : B1 { using B1::B1; }; struct D2 : B2 { using B2::B2; }; D1 d1(1); D2 d2a(2), d2b(3,4);