[Bug c++/12228] [DR 244/399] syntax error calling a qualified template dtor
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 9 20:50:00 GMT 2003
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 `;'
More information about the Gcc-bugs
mailing list