Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gnat.dg/opt6.ads @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 package Opt6 is |
2 | |
3 type String_Access is access all String; | |
4 type String_List is array (Positive range <>) of String_Access; | |
5 type String_List_Access is access all String_List; | |
6 | |
7 type Command_Line_Iterator is record | |
8 Params : String_List_Access; | |
9 Current : Natural; | |
10 end record; | |
11 | |
12 function Current_Parameter (Iter : Command_Line_Iterator) return String; | |
13 | |
14 end Opt6; |