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/] [init/] [ref17.C] - Blame information for rev 316

Go to most recent revision | Details | Compare with Previous | View Log

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