Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gnat.dg / expr_func2.ads
blobbd68f86cb13d795dc2727bfc13f6ef00eb7d6e79
1 package Expr_Func2 is
3 type T_Index is range 1 .. 255;
5 type T_Table is array (T_Index range <>) of Boolean;
7 type T_Variable_Table (N : T_Index := T_Index'First) is record
8 Table : T_Table (1 .. N);
9 end record;
11 type T_A_Variable_Table is access T_Variable_Table;
13 function Element (A_Variable_Table : T_A_Variable_Table) return Boolean;
15 private
17 function Element (A_Variable_Table : T_A_Variable_Table) return Boolean is
18 (A_Variable_Table.all.Table (1));
20 procedure Foo;
22 end Expr_Func2;