------- Comment #1 from pinskia at gcc dot gnu dot org 2009-12-07 23:13 ------- Comeau C++ also rejects this code with the following error message: "ComeauTest.c", line 12: error: declaration is incompatible with nontype "<unnamed> freeList<T, U>::foo [with T=T, U=baz]" (declared at line 12) void freeList<T, baz>::foo(); ^
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42328