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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/42026, DR 239
2
// The local extern declaration prevents arg-dependent lookup.
3
// { dg-do link }
4
 
5
namespace NS {
6
  class T { };
7
  void g(T, int);
8
}
9
NS::T parm;
10
void g(NS::T, float) { }
11
int main() {
12
  extern void g(NS::T, float);
13
  g(parm, 1);
14
}

powered by: WebSVN 2.1.0

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