view gcc/testsuite/gcc.dg/torture/pr17933-1.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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);
}