------- Comment #3 from zsojka at seznam dot cz 2010-02-02 14:07 ------- > ice-on-invalid-code
I believe the code is valid, or at least can be made valid by adding a return
statement. The ICE happens when parser gets to '{', even this fails:
...
A<T>::B<U> A<T>::B<U>::foo() {
the actual content of function definition doesn't matter,
(Comeau Online accepts that code without any warning when a return statement is
added, in strict C++03 mode)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42915
