Merge from mainline (160224:163495).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gfortran.dg / implied_shape_2.f90
bloba6e11f5584797cd08cc5886b68095f0fb6754054
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
4 ! Test for rejection of implied-shape prior to Fortran 2008.
6 ! Contributed by Daniel Kraft, d@domob.eu.
8 PROGRAM main
9 IMPLICIT NONE
10 INTEGER, PARAMETER :: arr(*) = (/ 2, 3, 4 /) ! { dg-error "Fortran 2008" }
11 END PROGRAM main