Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
call3.C
blob: bbb6c7b3a2bdc4e7d04dae1759f6006943415c5f [
file
] [
log
] [
blame
]
// PR c++/18436
void
foo
(
int
);
struct
A
{
static
void
foo
(
A
);
};
template
<
typename
T
>
struct
B
:
T
{
B
()
{
foo
(
T
());
}
// { dg-error "cannot convert" }
};
B
<
A
>
b
;