ICE 373 (template in namespace)
Tobias Ringstrom
tori@prosolvia.se
Wed Jul 15 06:11:00 GMT 1998
The following incorrect code gives an internal compiler error using today's
CVS-egcs on a i686-pc-linux-gnu.
namespace ns {
template <class T> class A {};
}
void foo()
{
ns::A(); // ERROR, missing template argument
}
> g++ egcs-bug3.cpp
egcs-bug3.cpp: In function `void foo()':
egcs-bug3.cpp:7: Internal compiler error 373.
egcs-bug3.cpp:7: Please submit a full bug report to `egcs-bugs@cygnus.com'.
/ Tobias
More information about the Gcc-bugs
mailing list