Create embedded-5_0-branch branch for development on ARM embedded cores.
[official-gcc.git] / embedded-5_0-branch / gcc / testsuite / gfortran.dg / assumed_rank_8_c.c
blob3910d318e3c792281f4eb10c2d7337077be20631
1 /* Called by assumed_rank_8.f90 and assumed_rank_9.f90. */
3 #include <stdlib.h> /* For abort(). */
5 struct a {
6 int *dat;
7 };
9 struct b {
10 struct a _data;
14 void check_ (struct a *x)
16 if (*x->dat != 489)
17 abort ();
21 void check2_ (struct b *x)
23 if (*x->_data.dat != 489)
24 abort ();