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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [other/] [enum1.C] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/6037
2
// This testcase ICEd because start_enum expected pushtag to insert
3
// the tag always into current binding level.
4
 
5
struct A
6
{
7
  ~A () { }
8
};
9
 
10
struct B
11
{
12
  void foo ()
13
  {
14
    switch (0) { default: ; }
15
    A a;
16
    enum C { };
17
    (void) a;
18
  }
19
};

powered by: WebSVN 2.1.0

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