gcc/testsuite/gfortran.fortran-torture/compile/module_expr.f90
raw| 1 | ! This uncovered a bug in the reading/writing of expressions. |
| 2 | module module_expr_1 |
| 3 | integer a |
| 4 | end module |
| 5 | |
| 6 | module module_expr_2 |
| 7 | use module_expr_1 |
| 8 | contains |
| 9 | |
| 10 | subroutine myproc (p) |
| 11 | integer, dimension (a) :: p |
| 12 | end subroutine |
| 13 | end module |
| 14 | |
| 15 | program module_expr |
| 16 | use module_expr_1 |
| 17 | use module_expr_2 |
| 18 | end program |