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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
nontype15.C
blob
dd5f4e78a5f066f6bd893f3083e844f9f708aabb
1
struct foo {
2
typedef int (*fun)(int);
3
4
static int f(int); // overload between static & non-static
5
int f();
6
7
static int g(int); // non-overloaded static
8
};
9
10
template<foo::fun>
11
struct f_obj {
12
// something ..
13
};
14
15
int foo::f() {
16
f_obj<f> f1;
17
f_obj<g> f2;
18
19
return 0;
20
}