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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [inherit/] [covariant13.C] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
// Copyright (C) 2004 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 8 May 2005
3
 
4
// Origin:Andrew Pinski: pinskia@gcc.gnu.org
5
// PR 21427: ICE on valid
6
 
7
struct B1 {
8
  public:
9
    virtual void foo();
10
};
11
 
12
struct B2 {
13
  public:
14
    virtual B2 & bar() = 0;
15
};
16
 
17
struct I : public B1, B2 {
18
  public:
19
    virtual ~I();
20
    virtual I & bar();
21
};
22
 
23
struct D : public I {
24
    virtual ~D();
25
};

powered by: WebSVN 2.1.0

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