------- Comment #10 from reichelt at gcc dot gnu dot org  2005-12-22 08:38 
-------
Shorter testcase:

=====================================
struct A
{
    static void foo();
};

template<void (*fp)()> struct B
{
    B() { fp(); }
};

B<A::foo> b;
=====================================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0/4.1/4.2 Regression]    |[4.0/4.1/4.2 Regression] ICE
                   |Internal compiler error in  |with function pointer as
                   |templated C++               |template parameter


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

Reply via email to