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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/35650
2
// { dg-do compile }
3
 
4
void f1 ();
5
 
6
namespace N
7
{
8
  using::f1;
9
  void f2 ();
10
  void f3 ();
11
}
12
 
13
using N::f3;
14
 
15
void
16
test ()
17
{
18
  void (&a) () = f1;
19
  void (&b) () = N::f1;
20
  void (&c) () = N::f2;
21
  void (&d) () = f3;
22
  void (&e) () = ::f3;
23
}

powered by: WebSVN 2.1.0

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