diff options
Diffstat (limited to 'gdb/testsuite/gdb.chill/tuples.ch')
-rw-r--r-- | gdb/testsuite/gdb.chill/tuples.ch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.chill/tuples.ch b/gdb/testsuite/gdb.chill/tuples.ch new file mode 100644 index 0000000..e1063f5 --- /dev/null +++ b/gdb/testsuite/gdb.chill/tuples.ch @@ -0,0 +1,33 @@ +x: MODULE + +SYNMODE m_arri = ARRAY(1:5) INT; +DCL v_arri m_arri := [ -1, -2, -3, -4, -5 ]; + +SYNMODE m_arrui = ARRAY(1:5) UINT; +DCL v_arrui m_arrui := [ 1, 2, 3, 4, 5 ]; + +SYNMODE r1 = RANGE (1:5); +SYNMODE m_arrb = ARRAY(r1) BYTE; +DCL v_arrb m_arrb := [ -3, -4, -5, -6, -7 ]; + +SYNMODE m_arrub = ARRAY(r1) UBYTE; +DCL v_arrub m_arrub := [ 3, 4, 5, 6, 7 ]; + +SYNMODE m_arrc = ARRAY (1:5) CHAR; +DCL v_arrc m_arrc := [ '1', '2', '3', '4', '5' ]; + +SYNMODE m_ps = POWERSET r1; +DCL v_ps m_ps := [ 1, 3, 5 ]; + +DCL v_cv CHARS(20) VARYING := "foo"; + +SYNMODE m_arrbool = ARRAY(r1) BOOL; +DCL v_arrbool m_arrbool := [ true, false, true, false, true ]; + +DCL j r1 := 4; + +DCL i INT; + +i := 0; + +END x; |