Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/promotion_4.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do run } ! { dg-options "-fdefault-real-10" } ! { dg-require-effective-target fortran_real_10 } ! ! PR 82143: add a -fdefault-real-16 flag ! ! Contributed by Janus Weil <janus@gcc.gnu.org> real :: r real(kind=4) :: r4 real(kind=8) :: r8 double precision :: d if (kind(r4) /= 4) STOP 1 if (kind(r8) /= 8) STOP 2 if (kind(r) /= 10) STOP 3 if (kind(d) < 10) STOP 4 end