blob: 224f2789bcd8f98811c13f553ac9e3660b9a5671 [file] [log] [blame]
// { dg-do compile { target c++14 } }
// { dg-final { scan-assembler "_ZN1AIiEcvDaEv" } }
template <class T>
struct A {
T t;
operator auto() { return t+1; }
};
int main()
{
int i = A<int>{42};
return (i != 43);
}