coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / interface_abstract_2.f90
blob5eb5a0e53f466020e97d26415fc9cfa324b5076d
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
3 abstract interface ! { dg-error "Fortran 2003: ABSTRACT INTERFACE" }
4 subroutine two()
5 end subroutine two
6 end interface ! { dg-error "Expecting END PROGRAM statement" }
7 end