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++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend53.C
blob
6cbbb2b099371c1be08423da7d6fb774913e8e18
1
// PR c++/53403
2
3
template <typename T>
4
class Foo
5
{
6
typedef void type;
7
template <typename U> friend void f();
8
public:
9
Foo() {}
10
};
11
12
template class Foo<void>;
13
14
template <typename T>
15
void f()
16
{
17
typedef Foo<void>::type type;
18
}
19
20
int main()
21
{
22
f<void>();
23
}