2 ! { dg
-require
-effective
-target static_libgfortran
}
3 ! { dg
-additional
-sources static_linking_1
.c
}
4 ! { dg
-options
"-static" }
6 ! This testcase checks that statically linking libgfortran with C main
()
7 ! really calls the constructor
function
10 print
*, "subroutine output"