[Bug c++/16781] [3.3 regression] ICE in cxx_scope_find_binding_for_name with missing 'template' disambiguator

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 10 18:49:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-10 18:49 -------
Without --enable-checking the code is rejected:

bug.cc: In member function `void X::bar()':
bug.cc:5: error: `foo<int>' undeclared (first use this function)
bug.cc:5: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16781



More information about the Gcc-bugs mailing list