hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / logint_2.f
blob19d387315c8b39dcb0daf6fbedbfed71e89b955b
1 c { dg-do compile }
2 c { dg-options "-O2 -std=f95" }
3 LOGICAL(kind=1) l1
4 LOGICAL(kind=2) l2
5 LOGICAL l4
6 INTEGER(kind=1) i1
7 INTEGER(kind=2) i2
8 INTEGER i4
10 i1 = .TRUE. ! { dg-error "convert" }
11 i2 = .TRUE. ! { dg-error "convert" }
12 i4 = .TRUE. ! { dg-error "convert" }
14 i1 = .FALSE. ! { dg-error "convert" }
15 i2 = .FALSE. ! { dg-error "convert" }
16 i4 = .FALSE. ! { dg-error "convert" }
18 i1 = l1 ! { dg-error "convert" }
19 i2 = l1 ! { dg-error "convert" }
20 i4 = l1 ! { dg-error "convert" }
22 i1 = l2 ! { dg-error "convert" }
23 i2 = l2 ! { dg-error "convert" }
24 i4 = l2 ! { dg-error "convert" }
26 i1 = l4 ! { dg-error "convert" }
27 i2 = l4 ! { dg-error "convert" }
28 i4 = l4 ! { dg-error "convert" }
30 l1 = i1 ! { dg-error "convert" }
31 l2 = i1 ! { dg-error "convert" }
32 l4 = i1 ! { dg-error "convert" }
34 l1 = i2 ! { dg-error "convert" }
35 l2 = i2 ! { dg-error "convert" }
36 l4 = i2 ! { dg-error "convert" }
38 l1 = i4 ! { dg-error "convert" }
39 l2 = i4 ! { dg-error "convert" }
40 l4 = i4 ! { dg-error "convert" }
42 END