summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/test_bind_c_parens.f03
blob: ee7b6a8ac632132987a07b2e3e4d673a364869d8 (plain)
1
2
3
4
5
6
7
! { dg-do compile }
module test_bind_c_parens
  interface
     subroutine sub bind(c) ! { dg-error "Missing required parentheses" }
     end subroutine sub ! { dg-error "Expecting END INTERFACE" }
  end interface
end module test_bind_c_parens