Message ID | 20180119233130.GA81860@troutmask.apl.washington.edu |
---|---|
State | New |
Headers | show |
Series | [Committed] PR fortran/80768 -- testcase | expand |
Index: gcc/testsuite/gfortran.dg/num_images_1.f90 =================================================================== --- gcc/testsuite/gfortran.dg/num_images_1.f90 (nonexistent) +++ gcc/testsuite/gfortran.dg/num_images_1.f90 (working copy) @@ -0,0 +1,9 @@ +! { dg-do compile } +! { dg-options "-fcoarray=single -std=f2008" } +! PR Fortran/80768 +! Reported by Vittorio Zecca. +program foo + implicit none + integer k5 + k5 = num_images(failed=.false.) ! { dg-error "argument to NUM_IMAGES" } +end program foo