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