PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / c_sizeof_5.f90
blob1fd319c0d6dd7928f87d51e1f1491d5cf475b460
1 ! { dg-do run }
2 ! { dg-options "-fcray-pointer" }
4 use iso_c_binding
5 real target(10)
6 real pointee(10)
7 pointer (ipt, pointee)
8 integer(c_intptr_t) :: int_cptr
9 real :: x
10 if (c_sizeof(ipt) /= c_sizeof(int_cptr)) STOP 1
11 if (c_sizeof(pointee) /= c_sizeof(x)*10) STOP 2
12 end