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