Commit e4785e43 by David Edelsohn Committed by David Edelsohn

re PR c++/23730 (ICE instead of reporting a call to a non-existent member function)

        PR c++/23730
        * g++.dg/parse/crash32.C: New test.

From-SVN: r105389
parent acd1a829
2005-10-13 David Edelsohn <edelsohn@gnu.org>
PR c++/23730
* g++.dg/parse/crash32.C: New test.
2005-10-13 Mark Mitchell <mark@codesourcery.com>
PR c++/20721
// { dg-do compile }
struct Visitor;
struct Ast
{
virtual void accept (Visitor& v);
};
void
Ast::accept (Visitor& v)
{
v (*this); // { dg-error "no match for call" "" }
}
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