------- Comment #1 from chris dot fairles at gmail dot com 2008-09-04 17:33 ------- mainline compiles first snippet fine. second gives:
error: 'void N2::f(int)' should have been declared inside 'N2' For what its worth msvc 9 and Comeau C/C++ 4.3.10.1 compile both snippets w/o error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37374