// PR c++/60361 struct Helper { Helper(int a, void (*pfunc)()); }; template void function(); const int A = 1; const int B = 2; Helper testOk(A, function); Helper testOk2(int(A), function); Helper testOk3((int(A)), function); Helper testFail(int(A), function);