blob: 6a868b25ed5406c7a7aac6c8bef0d362e21043a6 [file] [log] [blame]
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
// { dg-do compile }
template<typename T>
struct Base {
Base(int) { }
};
template<typename T>
struct Derived : Base<T> {
Derived();
};
template<typename T>
Derived<T>::Derived() : Base(4) { } // { dg-error "have any field" "" }