1// { dg-do compile } 2 3// Origin: Mirek Fidler <cxl@ntllib.org> 4// Wolfgang Bangerth <bangerth@ticam.utexas.edu> 5 6// PR c++/12932: ICE address of static function as template argument 7 8struct Test { 9 static void fun(); 10}; 11 12template <void (*fun)()> 13void foo () { (*fun)(); } 14 15 16template 17void foo<Test::fun> (); 18