re PR c++/23266 (ICE on pure specifier for static method)
authorVolker Reichelt <reichelt@gcc.gnu.org>
Thu, 11 Aug 2005 22:46:29 +0000 (22:46 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Thu, 11 Aug 2005 22:46:29 +0000 (22:46 +0000)
commitea7ce50bf7fcd34d903b9dd1b238f099c9cc0534
tree28c40802942a7d9fc02787e809812320186261a5
parent86bd8ebf5dec81d0a84b72a289db5af36f7d866d
re PR c++/23266 (ICE on pure specifier for static method)

PR c++/23266
* decl2.c (grokfield): Check that method is not static before
marking it as pure.

PR c++/23266
* g++.dg/inherit/pure1.C: New test.

* ChangeLog: Fix typos.

From-SVN: r103006
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/pure1.C [new file with mode: 0644]