[AArch64] SVE tests
[official-gcc.git] / gcc / testsuite / gfortran.dg / associate_2.f95
bloba41398d7850c82ba9b926fe1272629a714060d85
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
4 ! PR fortran/38936
5 ! Test that F95 rejects ASSOCIATE.
7 PROGRAM main
8 IMPLICIT NONE
10 ASSOCIATE (a => 5) ! { dg-error "Fortran 2003" }
11 END ASSOCIATE
12 END PROGRAM main