2 // { dg-do compile { target c++11 } }
6 struct base: private payload {
10 struct derived: base {
17 // error: no matching function for call to 'derived::derived(payload&)'
18 // note: candidate: base::base(payload)
19 // note: an inherited constructor is not a candidate for initialization from an expression of the same or derived type