Debian Codegraph @

gcc/testsuite/cobol.dg/group2/Simple_TYPEDEF.cob

raw
1 *> { dg-do run }
2 *> { dg-options "-dialect mf" }
3
4 identification division.
5 program-id. wrapper.
6 data division.
7 working-storage section.
8 77 UNS-CHAR PIC 9(02) COMP-5 IS TYPEDEF.
9 01 Z-H3 PIC X(017) .
10 01 I-H3A USAGE UNS-CHAR.
11 01 I-H3B USAGE UNS-CHAR.
12 78 I-H3-max VALUE LENGTH OF Z-H3.
13 procedure division.
14 goback.
15 end program wrapper.
16