summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr17933-1.c
blob: 02c597b0a387604961be7d21adc3d76261d71e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR rtl-optimization/17933.
   Test-case from the ObjC test-suite, execute/class_self-2.m,
   translated to C from and reduced by Andrew Pinski.  */

struct d
{ int a; };
void abort(void);
typedef struct d (*f) (int i);
f ff(void);
void test1()
{
  f t = ff();
  t(0);
}