Debian Codegraph @

gcc/testsuite/gfortran.dg/dec-comparison-complex_1.f90

raw
1 ! { dg-do run }
2 ! { dg-options "-fdec" }
3 !
4 ! Test case contributed by Mark Eggleston <[email protected]>
5 !
6
7 program convert
8 complex(4) :: a
9 complex(4) :: b
10 a = 8HABCDABCD
11 b = transfer("ABCDABCD", b);
12 ! Hollerith constants
13 if (a.ne.8HABCDABCD) stop 1
14 if (a.eq.8HABCEABCE) stop 2
15 if (8HABCDABCD.ne.b) stop 3
16 if (8HABCEABCE.eq.b) stop 4
17 end program