OSDN Git Service

* gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / torture / pr17933-1.c
1 /* PR rtl-optimization/17933.
2    Test-case from the ObjC test-suite, execute/class_self-2.m,
3    translated to C from and reduced by Andrew Pinski.  */
4
5 struct d
6 { int a; };
7 void abort(void);
8 typedef struct d (*f) (int i);
9 f ff(void);
10 void test1()
11 {
12   f t = ff();
13   t(0);
14 }