coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / stfunc_2.f90
blob75ecb057b05ff4f737a8faf98fdabd3405473553
1 ! { dg-do compile }
2 ! PR 20467 : we didn't check if a statement function had the dummy attribute.
3 SUBROUTINE a(b)
4 b(c) = 0 ! { dg-error "Unclassifiable statement" }
5 END SUBROUTINE a