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