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.ads
index 6e073e88a498ae57b543a337bab726a9d75d413e..719380077e18c208317e1e773101529d3da6b0b3 100644 (file)
@@ -34,14 +34,16 @@ package Enum_With_Gap is
      );
    for Enum_With_Gaps'size use 16;
 
+   type Enum_Subrange is new Enum_With_Gaps range Lit1 .. Lit3;
+
    type MyWord is range 0 .. 16#FFFF# ;
    for MyWord'Size use 16;
 
    type AR is array (Enum_With_Gaps range <>) of MyWord;
    type AR_Access is access AR;
-   
+
    type String_Access is access String;
-   
+
    procedure Do_Nothing (E : AR_Access);
    procedure Do_Nothing (E : String_Access);
 
This page took 0.024609 seconds and 4 git commands to generate.