diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/c_sizeof_2.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/c_sizeof_2.f90 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/gfortran.dg/c_sizeof_2.f90 b/gcc/testsuite/gfortran.dg/c_sizeof_2.f90 index f6c3077f83d..6e32cb34687 100644 --- a/gcc/testsuite/gfortran.dg/c_sizeof_2.f90 +++ b/gcc/testsuite/gfortran.dg/c_sizeof_2.f90 @@ -2,8 +2,7 @@ ! { dg-options "-std=f2003 -Wall" } ! Support F2008's c_sizeof() ! -integer(4) :: i, j(10) -i = c_sizeof(i) ! { dg-error "not included in the selected standard" } -i = c_sizeof(j) ! { dg-error "not included in the selected standard" } +integer(4) :: i +i = c_sizeof(i) ! { dg-warning "Fortran 2008" } end |