Fix bugs in 'val and 'pos with range types
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.ada / arr_acc_idx_w_gap / enum_with_gap_main.adb
index da37dd7d5ec19cae453d0d7de0b50f7f653d2c38..752b883798028dd436e7d9e62a6d6fd010f8d429 100644 (file)
@@ -19,6 +19,7 @@ procedure Enum_With_Gap_Main is
    Indexed_By_Enum : AR_Access :=
      new AR'(LIT1 => 1,  LIT2 => 43, LIT3 => 42, LIT4 => 41);
    S : String_Access := new String'("Hello!");
+   V : Enum_Subrange := LIT3;
 begin
    Do_Nothing (Indexed_By_Enum); --  BREAK
    Do_Nothing (S);
This page took 0.023929 seconds and 4 git commands to generate.