1 // { dg-do compile { target c++11 } } 2 3 // { dg-final { scan-assembler "_Z1fIiEDTnw_Dapifp_EET_" } } 4 template <class T> auto f(T t) -> decltype (new auto(t)); 5 main()6 int main() 7 { 8 f(1); 9 } 10