OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [sizeof7.C] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// { dg-do compile }
// { dg-do compile }
// Testcase by: bangerth@dealii.org
// Testcase by: bangerth@dealii.org
// PR c++/10858: failure with calling a method inside sizeof in a template
// PR c++/10858: failure with calling a method inside sizeof in a template
    template  struct P {};
    template  struct P {};
    void bar ();
    void bar ();
    template  struct X {
    template  struct X {
        static int foo(void (*)());
        static int foo(void (*)());
        P p;
        P p;
    };
    };
    template class X;
    template class X;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.