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
testsuite: Add dg-require-effective-target scheduling for some tests that set -fsched...
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using57.C
blob
48ee2df9bc94f888364be89cb73fc372f41560c1
1
// Addr of function from multiple namespaces
2
3
namespace X
4
{
5
void Foo (int);
6
void Foo (short);
7
}
8
9
namespace Y
10
{
11
void Foo (float);
12
void Foo (double);
13
}
14
15
template <typename T> void Foo (T *);
16
17
using namespace X;
18
19
using namespace Y;
20
21
void (*(Baz ())) (float)
22
{
23
return Foo;
24
}
25
26
void (*(Bar ())) (void *)
27
{
28
return Foo;
29
}