1// PR c++/52819 2 3typedef void (*cfi)(void*); 4 5void function(int *a) {} 6 7template<cfi Func> 8void get() { Func(0); } 9 10int main() 11{ 12 get<(cfi)function>(); // { dg-error "" } 13 return 0; 14} 15