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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [enum.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// PRMS Id: 4337
3
// Bug: Enums are not looked up to arbitrary depth.
4
 
5
struct W {
6
  enum A { B };
7
};
8
 
9
struct X : public W
10
{};
11
 
12
struct Y : public X
13
{};
14
 
15
struct S
16
{
17
  X::A a1;
18
  Y::A a2;                      // { dg-bogus "" }
19
};

powered by: WebSVN 2.1.0

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