1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
15 typedef int (X::*memfunc_p_t) ();
17 memfunc_p_t mf_arr[2] = { &X::mfunc1, &X::mfunc2 };
22 // Get pntr to the array of pointers to member-funcs
23 memfunc_p_t (*mf_arr_p)[2] = &mf_arr;
24 // Compare indirect against direct access to an array element
25 if ((*mf_arr_p)[0] != mf_arr[0])