Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/static_linking_1.f @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do run } |
2 ! { dg-require-effective-target static_libgfortran } | |
3 ! { dg-additional-sources static_linking_1.c } | |
4 ! { dg-options "-static" } | |
5 ! | |
6 ! This testcase checks that statically linking libgfortran with C main() | |
7 ! really calls the constructor function | |
8 ! PR libfortran/22298 | |
9 subroutine f | |
10 print *, "subroutine output" | |
11 end |