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.