repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge with main truk.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
ref17.C
blob
2c8c22b8d884465776d73100ad13afe4191d676e
1
// 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
}