Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
&);