1! { dg-do run }
2! PR 20361 : We didn't check if a large equivalence actually fit on
3! the stack, and therefore segfaulted at execution time
4subroutine test
5integer i(1000000), j
6equivalence (i(50), j)
7
8j = 1
9if (i(50) /= j) call abort()
10end subroutine test
11
12call test
13end
14