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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [sizeof7.C] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
// Testcase by: bangerth@dealii.org
3
// PR c++/10858: failure with calling a method inside sizeof in a template
4
 
5
    template  struct P {};
6
 
7
    void bar ();
8
 
9
    template  struct X {
10
        static int foo(void (*)());
11
        P p;
12
    };
13
 
14
    template class X;

powered by: WebSVN 2.1.0

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