OSDN Git Service

2009-08-20 Thomas Koenig <tkoenig@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / data_array_3.f90
1 ! { dg-do compile }
2 ! PR32928 DATA statement with array element as initializer is rejected
3 integer, parameter,dimension(4) :: myint = [ 4,3,2,1 ]
4 integer :: a(5),b
5 data a(1:2) / myint(b), myint(2) / ! { dg-error "Invalid initializer" }
6 end