1 // { dg-do compile { target c++14 } }
2 // { dg-final { scan-assembler "_ZN1AIiEcvDaEv" } }
3 
4 template <class T>
5 struct A {
6   T t;
autoA7   operator auto() { return t+1; }
8 };
9 
main()10 int main()
11 {
12   int i = A<int>{42};
13   return (i != 43);
14 }
15