2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // DR213: Lookup in dependent base classes
5 // We should emit an error at *instantiation* time because g(t) can't be
6 // resolved to any function.
8 template <class T> struct A : T {
11 g(t); // { dg-message "" }
26 ab.h(b); // { dg-message "required" }