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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [parse/] [namespace4.C] - Blame information for rev 826

Details | Compare with Previous | View Log

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