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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [crash53.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/35112
2
 
3
namespace X { struct A; }  // { dg-error "struct X::A" }
4
namespace Y { struct A; }  // { dg-error "struct Y::A" }
5
namespace Z { struct A; }  // { dg-error "struct Z::A" }
6
namespace W { struct A; }  // { dg-error "struct W::A" }
7
 
8
using namespace X;
9
using namespace Y;
10
using namespace Z;
11
using namespace W;
12
 
13
A* p; // { dg-error "reference to 'A' is ambiguous|'A' does not name a type" }

powered by: WebSVN 2.1.0

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