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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
koenig9.C
blob
f867a32ecc8e250419be040c82a08cb71c077733
1
// Test for sensible handling of template-ids with arg-dep lookup.
2
// This is still an open issue.
3
4
namespace N
5
{
6
struct A { };
7
void f(void (*)(int, N::A));
8
}
9
10
namespace M
11
{
12
struct B { };
13
void f(void (*)(B, N::A));
14
}
15
16
template <class T>
17
void g(T, N::A);
18
19
void g();
20
21
int main()
22
{
23
f(g<int>);
24
f(g<M::B>);
25
}