☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
c_sizeof_2.f90
☽
☼
gcc/testsuite/gfortran.dg/c_sizeof_2.f90
code
plain
raw
1
! { dg-do compile }
2
! { dg-options "-std=f2003 -Wall -Wno-conversion" }
3
! Support F2008's c_sizeof()
4
!
5
USE ISO_C_BINDING, only: C_SIZE_T, c_sizeof ! { dg-error "is not in the selected standard" }
6
integer(C_SIZE_T) :: i
7
i = c_sizeof(i)
8
end
9