summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gfortran.dg/promotion.f90
blob: 80716093136b602cbffb01aa5ed2bbdbc12f1ac4 (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" }
program a
   logical l
   integer i
   real x
   double precision d
   if (kind(l) /= 8) call abort
   if (kind(i) /= 8) call abort
   if (kind(x) /= 8) call abort
   if (kind(d) /= 8) call abort
end program a
OpenPOWER on IntegriCloud