// { dg-do compile }// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>// DR179: Function pointers and subtractionvoidfoo(void);typedefvoid(*fp)(void);intmain(){fpf1=foo;fpf2=foo;(void)f2-f1;// { dg-error "" "cannot subtract pointers to function" }}