2 ! { dg-options "-std=gnu" }
5 ! The compiler should accept internal procedures with BIND(c) attribute
6 ! for STD GNU / Fortran 2008.
8 subroutine foo() bind(c)
10 subroutine bar() bind (c)
14 subroutine foo2() bind(c)
17 integer(c_int) function barbar() bind (c)
22 function one() bind(c)
27 integer(c_int) function two() bind (c)
32 function one2() bind(c)
34 integer(c_int) :: one2
37 subroutine three() bind (c)
45 subroutine test() bind(c)
47 integer(c_int) function test2() bind (c)