1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// PR debug/16261 // { dg-do compile } namespace N { struct A {}; typedef A B; } void foo() { struct C { C(N::B) {} }; N::B b; C c(b); }