Template error detection bug.

Håkan Källberg hk@simulina.se
Sun Nov 1 02:40:00 GMT 1998


Hello!

Here is an impossible program that causes egcs to give up.

Regards:			HÃ¥kan

% c++ -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

------8<----------------
template< class T > 
class y : public T {
};

const y< x& > yy;
------8<----------------

-- 
Håkan Källberg                 Tel:      +49-6203-92 20 41
Simulina GmbH                  Fax:               92 20 42     
Schmezerstraße 20              Mobil:    +49-171-600 20 62
D-68526  LADENBURG             E-mail:      hk@simulina.se

            www.ncc-mannheim.net/simulina




More information about the Gcc-bugs mailing list