Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-18.C
blob: 06d1a0516bc103c3fde172d33f93afab6d28acf3 [
file
] [
log
] [
blame
]
// PR c++/14199
// { dg-options "-W -Wall -Wunused" }
struct
X
{
static
void
foo
();
};
template
<
typename
T
>
void
foo
(
const
T
&
t
)
{
t
.
foo
();
}
template
void
foo
(
const
X
&);