re PR c++/27278 (ICE with invalid operator declaration)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Sun, 30 Apr 2006 10:34:05 +0000 (10:34 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Sun, 30 Apr 2006 10:34:05 +0000 (10:34 +0000)
commit85990800b175ab6d0f638303c145ac28c4437ae2
treec4eaa47ad67c76d75e8ae5ea9f5107c262a18720
parent4e72e1c5a2cdef4e9b123cfa544e7fe78c92eda2
re PR c++/27278 (ICE with invalid operator declaration)

PR c++/27278
* decl.c (grok_op_properties): Skip operators with invalid args
when checking for class-type or enum-type args.

* g++.dg/parse/operator7.C: New test.

From-SVN: r113389
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/operator7.C [new file with mode: 0644]