annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* PR rtl-optimization/17933.
kono
parents:
diff changeset
2 Test-case from the ObjC test-suite, execute/class_self-2.m,
kono
parents:
diff changeset
3 translated to C from and reduced by Andrew Pinski. */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 struct d
kono
parents:
diff changeset
6 { int a; };
kono
parents:
diff changeset
7 void abort(void);
kono
parents:
diff changeset
8 typedef struct d (*f) (int i);
kono
parents:
diff changeset
9 f ff(void);
kono
parents:
diff changeset
10 void test1()
kono
parents:
diff changeset
11 {
kono
parents:
diff changeset
12 f t = ff();
kono
parents:
diff changeset
13 t(0);
kono
parents:
diff changeset
14 }