Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/procedure_lvalue.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! Tests the fix for PR17911, where a USE associated l-value ! would cause an ICE in gfc_conv_variable. ! Test contributed by Tobias Schlueter <tobi@gcc.gnu.org> module t interface a module procedure b end interface contains integer function b(x) b = x end function b end module t subroutine r use t b = 1. ! { dg-error "is not a variable" } y = a(1.) end subroutine r