Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / entry_11.f90
blob916891fdeb9919e0e3e940343bf5f0bf00774bf7
1 ! PR fortran/23663
2 function i (n)
3 i = n
4 i = max (i, 6)
5 return
6 entry j (n)
7 j = n
8 j = max (j, 3)
9 end
11 program entrytest
12 if (i (8).ne.8) call abort
13 if (i (4).ne.6) call abort
14 if (j (0).ne.3) call abort
15 if (j (7).ne.7) call abort
16 end