Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
friend17.C
blob: 81269afde4dc6ac775a87562521149bca4ac4252 [
file
] [
log
] [
blame
]
// PR c++/85558
template
<
typename
T
>
struct
triggerBug
{
friend
void
doInitUser
(
bool
=
triggerBug
::
doInit
)
{}
static
bool
doInit
;
};
template
<
class
T
>
bool
triggerBug
<
T
>::
doInit
=
true
;
triggerBug
<int>
bug
;