comparison gcc/testsuite/gfortran.dg/automatic_save.f90 @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
130:e108057fa461 132:d34655255c78
1 ! { dg-do compile }
2 ! { dg-options "-fdec-static" }
3 ! An AUTOMATIC statement cannot be used with SAVE
4 FUNCTION X()
5 REAL, SAVE, AUTOMATIC :: Y ! { dg-error "AUTOMATIC attribute conflicts with SAVE attribute" }
6 y = 1
7 END FUNCTION X
8 END