Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/iso_c_binding_compiler_3.f90 @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-Wall" } ! ! PR fortran/45823 ! ! We used to warn about ! "Type specified for intrinsic function" for this file ! use iso_c_binding use iso_Fortran_env implicit none intrinsic sin real :: x = 3.4 print *, sin(x), c_sizeof(c_int), compiler_options(), compiler_version() end module test_mod use iso_fortran_env end module test_mod subroutine test use test_mod end subroutine test