1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/FrontendAda/non_lvalue.ads
Chris Lattner 3888505be5 move ada tests
llvm-svn: 35629
2007-04-03 21:46:22 +00:00

12 lines
265 B
Ada

package Non_LValue is
type T (Length : Natural) is record
A : String (1 .. Length);
B : String (1 .. Length);
end record;
type T_Ptr is access all T;
type U is record
X : T_Ptr;
end record;
function A (Y : U) return String;
end;