Gitiles
Code Review
Sign In
android-review.linaro.org
/
toolchain
/
gcc-aarch64
/
ee2ec6d2e2197bcd87b135f48ae82c209a83da9a
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend53.C
blob: 6cbbb2b099371c1be08423da7d6fb774913e8e18 [
file
] [
log
] [
blame
]
// PR c++/53403
template
<
typename
T
>
class
Foo
{
typedef
void
type
;
template
<
typename
U
>
friend
void
f
();
public
:
Foo
()
{}
};
template
class
Foo
<void>
;
template
<
typename
T
>
void
f
()
{
typedef
Foo
<void>
::
type type
;
}
int
main
()
{
f
<void>
();
}