Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gfortran.dg/pr94030_1.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
1 ! { dg-do compile } | |
2 ! | |
3 | |
4 subroutine f(n) | |
5 integer :: n | |
6 integer :: arr(n) | |
7 integer :: i | |
8 equivalence (i, arr(1)) | |
9 end | |
10 | |
11 ! { dg-error "Array 'arr' at .1. with non-constant bounds cannot be an EQUIVALENCE object" " " { target *-*-* } 8 } |