This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12228] [DR 244/399] syntax error calling a qualified template dtor
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2003 20:50:37 -0000
- Subject: [Bug c++/12228] [DR 244/399] syntax error calling a qualified template dtor
- References: <20030909192848.12228.sebor@roguewave.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12228
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|syntax error calling a |[DR 244/399] syntax error
|qualified template dtor |calling a qualified template
| |dtor
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-09 20:50 -------
On the mainline GCC produces:
pr12228.cc: In function `void foo(N::B<T>*)':
pr12228.cc:16: error: expected class-name
pr12228.cc:17: error: expected `;'
pr12228.cc: In function `void foo(typename N::B<T>::BT*)':
pr12228.cc:23: error: expected class-name
pr12228.cc:24: error: expected `;'
pr12228.cc: In function `void foo(N::C<T>*)':
pr12228.cc:30: error: expected class-name
pr12228.cc:31: error: expected `;'
pr12228.cc: In function `void foo(typename N::C<T>::CA*)':
pr12228.cc:37: error: expected class-name
pr12228.cc:38: error: expected `;'