summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr44915.C
blob: ba7e9660622a2e226d2050356c84ceb74d5e1acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile }  */
/* { dg-options "-findirect-inlining" } */

struct A;

typedef void (A::*f_ptr) ();

void dummy (f_ptr) { }

void call_dummy (f_ptr cb)
{
  dummy (cb);
}