Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/impure_spec_expr_1.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! Checks the fix for PR33664, in which the apparent function reference ! n(1) caused a seg-fault. ! ! Contributed by Henrik Holst <holst@matmech.com> ! module test contains subroutine func_1(u,n) integer :: n integer :: u(n(1)) ! { dg-error "must be PURE" } end subroutine end module test