aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/promotion.f90
blob: d1b9b686e58926435985fdf4e51510c4b7f4738d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { dg-do run { target i?86-*-* } }
! { 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