1 // { dg-do assemble } 2 struct A{ 3 A(); 4 }; 5 6 typedef struct { 7 A i; 8 } S; 9 10 struct B: S{ 11 using S::S; // { dg-error "" "" { target { ! c++11 } } } no such field 12 }; 13