coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr36192.f90
blobebf95e35bfecad138eaca38bb9f1a499bf8ae540
1 ! { dg-do compile }
2 ! PR fortran/36192.f90
4 program three_body
5 real, parameter :: n = 2, d = 2
6 real, dimension(n,d) :: x ! { dg-error "Expecting a scalar INTEGER" }
7 x(1,:) = (/ 1.0, 0.0 /) ! { dg-error "Unclassifiable" }
8 end program three_body