gcc/testsuite/gfortran.dg/include_11.f
raw| 1 | c { dg-do compile } |
| 2 | subroutine foo |
| 3 | implicit none |
| 4 | c We used to accept following in fixed mode. Shall we at least |
| 5 | c warn about it? |
| 6 | include 'include_10.inc' |
| 7 | i = 1 |
| 8 | end subroutine foo |
| 9 | subroutine bar |
| 10 | c Likewise here. |
| 11 | implicit none |
| 12 | include'include_10.inc' |
| 13 | i = 1 |
| 14 | end subroutine bar |
| 15 | subroutine baz |
| 16 | c And here. |
| 17 | implicit none |
| 18 | include 'include_10.inc' |
| 19 | i = 1 |
| 20 | end subroutine baz |