Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/system_clock_2.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-std=f95" } integer :: i, j, k integer(kind=8) :: i8, j8, k8 real :: x double precision :: z call system_clock(i, j, k) call system_clock(i, j, k8) ! { dg-error "has non-default kind" } call system_clock(i, j8, k) ! { dg-error "has non-default kind" } call system_clock(i8, j, k) ! { dg-error "has non-default kind" } call system_clock(i, x, k) ! { dg-error "Real COUNT_RATE argument" } call system_clock(i, z, k) ! { dg-error "Real COUNT_RATE argument" } end