Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/recursive_check_15.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
2 ! PR41909 ICE with "call foo" in "program foo" | |
3 program test ! { dg-error "Global name" } | |
4 implicit none | |
5 call test() ! { dg-error "" } | |
6 contains | |
7 subroutine one(a) | |
8 real, dimension(:,:), intent(inout), optional :: a | |
9 call two(a) | |
10 end subroutine one | |
11 end program test | |
12 |