2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / promotion.f90
blobfc46d853e94f5b1d4bea227c55f45860fdd0eae3
1 ! { dg-do run { target i?86-*-* x86_64-*-* } }
2 ! { dg-require-effective-target ilp32 }
3 ! { dg-options "-fdefault-integer-8 -fdefault-real-8 -fdefault-double-8" }
4 program a
5 logical l
6 integer i
7 real x
8 double precision d
9 if (kind(l) /= 8) call abort
10 if (kind(i) /= 8) call abort
11 if (kind(x) /= 8) call abort
12 if (kind(d) /= 8) call abort
13 end program a