Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
conv3.C
blob: 78cf5ce0f10a23d58ec4a786cae8f4df68461086 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Origin: Chris Heath <cheath@math.lsa.umich.edu>
struct
A
{
template
<
typename
T
>
explicit
A
(
T t
)
{}
};
void
f
(
A a
)
{}
int
main
()
{
f
(
1
);}
// { dg-error "" } no conversion from int to A.