Commit 4e982a22 by Gabriel Dos Reis

Testcase from PR #3625

From-SVN: r44825
parent 21c38ecb
// 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 "field" "" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment