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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [syntax2.C] - Blame information for rev 749

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

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// { dg-options "-fsyntax-only" }
3
// Origin: Mark Mitchell 
4
 
5
struct B
6
{
7
  double d;
8
 
9
  virtual void f ();
10
};
11
 
12
struct C: virtual public B
13
{
14
  char c;
15
};
16
 
17
struct D: virtual public B
18
{
19
  int i;
20
  virtual void f ();
21
};
22
 
23
struct E : public C, public D
24
{
25
};
26
 
27
E e;
28
 

powered by: WebSVN 2.1.0

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