2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / c_sizeof_2.f90
blobf6c3077f83ddd0ec1fb7a1d9a5fa0938477775d6
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003 -Wall" }
3 ! Support F2008's c_sizeof()
5 integer(4) :: i, j(10)
6 i = c_sizeof(i) ! { dg-error "not included in the selected standard" }
7 i = c_sizeof(j) ! { dg-error "not included in the selected standard" }
8 end