1 // PR c++/67876 - [6 Regression] ICE when compiling Firefox 38
2 // Caused by a patch for c/66516 - missing diagnostic on taking
3 // the address of a builtin function
6 template <class T, void (&F)(T*)>
9 extern void foo (int*);
11 template <class T, void (&F)(T*)>
12 void bar (S<T, F>&s) { }
16 void foobar (S<int, foo> &s) { bar (s); }