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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [namespace4.C] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
/* PR c++/4652 */
2
/* { dg-do compile } */
3
/* Another conflict between namespace IDs and other things. */
4
 
5
namespace A { }
6
 
7
class B {
8
 
9
   struct {
10
      int x;
11
   } A;
12
 
13
};
14
 
15
int main() {
16
   B b;
17
   return 0;
18
}

powered by: WebSVN 2.1.0

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