PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / data_initialized_2.f90
blobc6331cd0c4f95ab06eef81484cbd04bf53ae2308
1 ! { dg-do compile }
2 ! Tests the fix for PR32236, in which the error below manifested itself
3 ! as an ICE.
4 ! Contributed by Bob Arduini <r.f.arduini@larc.nasa.gov>
5 real :: x(2) = 1.0 ! { dg-error "already is initialized" }
6 data x /1.0, 2.0/ ! { dg-error "already is initialized" }
7 print *, x
8 end