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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [dtor3.C] - Blame information for rev 751

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

Line No. Rev Author Line
1 693 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.