------- Comment #5 from reichelt at gcc dot gnu dot org  2005-11-24 16:58 
-------
Testcase with fewer nesting levels of templates:

========================================
template<int> struct A
{
    static void foo() {}
};

void bar(void (*)()) {}

template<int> struct B
{
    B() { bar(A<0>::foo); }
};

B<0> b;

int main()
{
    return 0;
}
========================================

Compiles with optimization turned on.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


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

Reply via email to