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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [parse/] [ambig4.C] - Blame information for rev 301

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/20293
2
 
3
namespace hide { // { dg-error "hide" }
4
  int k;
5
}
6
 
7
namespace {
8
  int i;
9
  namespace hide { // { dg-error "hide" }
10
    int j;
11
  }
12
}
13
 
14
void F(int) {}
15
 
16
int main() {
17
  F(hide::j); // { dg-error "ambiguous" }
18
}

powered by: WebSVN 2.1.0

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