modula2: Simplify REAL/LONGREAL/SHORTREAL node creation.
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr69419.f90
blob7329808611cb98e16eee2b0b97d8ca4e938f15bd
1 ! { dg-do compile }
2 ! { dg-options "-fcoarray=lib" }
3 ! PR fortran/69419 - ICE on invalid coarray in common
5 blockdata b
6 real x ! { dg-error "must be in COMMON" }
7 common /c/ x[*] ! { dg-error "cannot be a coarray" }
8 data x /1.0/
9 end