// PR c++/9228 // Origin: Wolfgang Bangerth // { dg-do compile } template typename A::B foo() {} // { dg-error "" }