aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/promotion.f90
blob: 0b87bf2a644621af51c3e17202b5882ebd0810dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! { dg-do run { target i?86-*-* x86_64-*-* } }
! { dg-require-effective-target ilp32 }
! { dg-options "-fdefault-integer-8 -fdefault-real-8 -fdefault-double-8" }
program a
   logical l
   integer i
   real x
   double precision d
   if (kind(l) /= 8) STOP 1
   if (kind(i) /= 8) STOP 2
   if (kind(x) /= 8) STOP 3
   if (kind(d) /= 8) STOP 4
end program a