[PR98722] LRA: Check that target has no 3-op add insn to transform 2 plus expression.
[gcc.git] / gcc / testsuite / g++.target / s390 / pr98722.C
1 // { dg-do compile }
2 // { dg-options "-Og -fno-tree-fre -fno-split-wide-types" }
3 struct B {
4 virtual void Method();
5 };
6 typedef void (B::*fn_type_a)();
7
8 int main() {
9 fn_type_a f(&B::Method);
10 B b;
11 (b.*f)();
12 }