PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / uncommon_block_data_1.f90
blob54547e89c15797e37664904bcf3fffffbec4754b
1 ! { dg-do compile }
2 ! Tests the fix for 25083, in which the compiler failed to detect that
3 ! data variables in BLOCK DATA were not in COMMON.
5 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
7 BLOCK DATA D
8 INTEGER I ! { dg-error "must be in COMMON" }
9 DATA I /1/
10 END BLOCK DATA
11 END