------- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-06 01:37 ------- I don't get a segfault on the trunk but I do get an error message: t.cc: In instantiation of 'const int junk<int>::value': t.cc:6: instantiated from here t.cc:4: error: no matching function for call to 'junk<int>::test(int)'
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39070