OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [dtor3.C] - Blame information for rev 604

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

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/42386
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
# 1 "A.h" 1
5
#pragma interface
6
struct D { virtual bool d () const; };
7
struct E { virtual ~E (); virtual void *e () const = 0; };
8
struct A : public D, public E { ~A () {} };
9
# 5 "dtor3.C" 1
10
struct F : public A { void *f () const; void *e () const; };
11
void *F::e () const { return __null; }

powered by: WebSVN 2.1.0

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