Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash31.C
blob: 9c9ce15e986fde322b3fd6ded9d65c87bd4fabdb [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Origin: Corey Kosak
struct
cow_t
{
template
<
bool
Q
>
static
void
tfunc
(
cow_t
*
cowp
)
{}
void
moo
()
{
cow_t
*
cowp
;
cow_t
::
tfunc
<true>
(
cowp
);
}
};
int
main
()
{
cow_t
*
cowp
;
cow_t
::
tfunc
<true>
(
cowp
);
}