Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/module_commons_2.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
2 ! Tests the fix for PR35474, in which the PRIVATE statement would | |
3 ! cause the error Internal Error at (1): free_pi_tree(): Unresolved fixup | |
4 ! This arose because the symbol for 'i' emanating from the COMMON was | |
5 ! not being fixed-up as the EQUIVALENCE was built. | |
6 ! | |
7 ! Contributed by FX Coudert <fxcoudert@gcc.gnu.org> | |
8 ! | |
9 module h5global | |
10 integer i | |
11 integer j | |
12 common /c/ i | |
13 equivalence (i, j) | |
14 private | |
15 end module h5global | |
16 | |
17 program bug | |
18 use h5global | |
19 end |