// PR c++/48745 // { dg-do compile { target c++11 } } template struct add_rval_ref { typedef T&& type; }; template<> struct add_rval_ref { typedef void type; }; template typename add_rval_ref::type create(); template decltype(T{create()...}, char()) f(int); template char (&f(...))[2]; static_assert(sizeof(f(0)) != 1, "Error"); // #