summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/promotion.f90
blob: fc46d853e94f5b1d4bea227c55f45860fdd0eae3 (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) call abort
   if (kind(i) /= 8) call abort
   if (kind(x) /= 8) call abort
   if (kind(d) /= 8) call abort
end program a