re PR c++/17585 (usage of unqualified name of static member from within class not...
authorMark Mitchell <mark@codesourcery.com>
Mon, 27 Sep 2004 14:46:55 +0000 (14:46 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 27 Sep 2004 14:46:55 +0000 (14:46 +0000)
commitd19e85e8869ee6302b7447267f9f50d1d27ba6cc
treea4d0fd6f8e7416e581676a3c79caa9c01566e62f
parentc81f61b2506d111b638e6aa329f87f78a289e379
re PR c++/17585 (usage of unqualified name of static member from within class not allowed)

PR c++/17585
* semantics.c (finish_id_expression): Do not add "this->" to
static member functions.

PR c++/17585
* g++.dg/template/static8.C: New test.

From-SVN: r88174
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/static8.C [new file with mode: 0644]