Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git] / gcc / testsuite / gfortran.dg / dec_union_10.f90
blob8c91aedb4972ddbe1d74d10495c810d09b199ef3
1 ! { dg-do compile }
2 ! { dg-options "-fdec-structure" }
4 ! Check for regression where gfc_compare_union_types wasn't properly guarded
5 ! against empty unions.
8 subroutine sub1(r)
9 structure /s/
10 union
11 end union
12 end structure
13 record /s/ r
14 end subroutine
16 subroutine sub2()
17 structure /s/
18 union
19 end union
20 end structure
21 record /s/ r
22 call sub1(r)
23 end subroutine
25 call sub2()
27 end