1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-forwprop2" } */
13 void (A::* const p)() = & A::foo;
18 /* We should eliminate the check if p points to a virtual function. */
19 /* { dg-final { scan-tree-dump-times "& 1" 0 "forwprop2" } } */