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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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