blob: 32e72037fec117c2b9d8ef76d54a892bb2def6a8 [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" }