Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / gfortran.dg / elemental_bind_c.f90
blobd61b49778c047e5a4dd22aa0824aec848ed6db29
1 ! {dg-do compile }
3 ! PR fortran/33412
5 elemental subroutine a() bind(c) ! { dg-error "BIND.C. attribute conflicts with ELEMENTAL" }
6 end subroutine a ! { dg-error "Expecting END PROGRAM" }
8 elemental function b() bind(c) ! { dg-error "BIND.C. attribute conflicts with ELEMENTAL" }
9 end function b ! { dg-error "Expecting END PROGRAM" }
10 end