// { dg-do compile } // Origin: gcc-bug@vogtner.de // PR c++/14106: ICE with typeof of function template. template void j (T i) { } template void instanciate () { static void (*fp) (T) = j; __typeof__ (j) *p; // { dg-error "unknown|invalid" } } template void instanciate();