Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr86706.C
blob: 86af18a99747aa980020464e1bd79f668a1fa62f [
file
] [
log
] [
blame
]
// PR c++/86706
// { dg-do compile }
class
A
{
int
b
;
};
template
<
class
,
typename
>
class
C
:
A
{
C
();
static
C
*
f
;
};
template
<
class
T
,
typename
U
>
C
<
T
,
U
>
*
C
<
T
,
U
>::
f
;
template
<
class
T
,
typename
U
>
C
<
T
,
U
>::
C
()
{
f
->
b
;
}