rs6000: Rework vector integer comparison in rs6000_emit_vector_compare - p5
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / entry_11.f90
blobfb8267f55b119817f4e846b964e06fac11b0912d
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) STOP 1
13 if (i (4).ne.6) STOP 2
14 if (j (0).ne.3) STOP 3
15 if (j (7).ne.7) STOP 4
16 end