summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/binding_label_tests_11.f03
blob: 5e889a7886eb0e4279a71e6f63f974d387acc207 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! { dg-do compile }
! This file must be compiled BEFORE binding_label_tests_11_main.f03, which it 
! should be because dejagnu will sort the files.
module binding_label_tests_11
  use iso_c_binding, only: c_int
  implicit none
contains
  function one() bind(c, name="c_one")
    integer(c_int) one
    one = 1
  end function one
end module binding_label_tests_11

! Do not use dg-final to cleanup-modules