// Contributed by Dodji Seketeli // Origin: PR c++/40155 // { dg-do compile { target c++11 } } template struct identity { typedef T type; }; template int forward_call(RT (*) (A...), typename identity::type...); int g (double); int i = forward_call(&g, 0);