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