1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// PR debug/54831 // { dg-do compile } // { dg-options "-O -fno-split-wide-types -g" } struct S { int m1(); int m2(); }; typedef void (S::*mptr) (); mptr gmp; void bar (mptr f); void foo (mptr f) { f = gmp; bar (f); }