2 // { dg-do compile { target c++11 } }
3 // { dg-options "-fabi-version=5" }
4 // { dg-final { scan-assembler "_Z1fIPiEDTcmppfp_Li0EET_" } }
5 // { dg-final { scan-assembler "_Z1gIiEvRK1AIT_EDTixfL0p_Li0EE" } }
8 auto f(T t) -> decltype(++t, 0)
17 T operator[](int) const { return 0; }
20 template< typename T >
21 void g(const A<T> &a, decltype(a[0]) t) { }