1// PR c++/54542 2// { dg-do compile { target c++11 } } 3 4template <class T> 5void f(decltype(new T(1, 2)) *) 6{ 7 T(1, 2); 8} 9 10template <class T> 11void f(...) 12{} 13 14int main() 15{ 16 f<int>(0); 17} 18