Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
deduce4.C
blob: e2c165dc788af265c7fb336af74c584de788567c [
file
] [
log
] [
blame
]
// PR c++/90505 - mismatch in template argument deduction.
// { dg-do compile }
template
<
typename
T
>
struct
S
{
template
<
typename
U
,
typename
V
>
static
void
foo
(
V
)
{
}
void
bar
()
{
foo
<int>
(
10
);
}
};
void
test
()
{
S
<int>
s
;
s
.
bar
();
}