1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/FrontendAda/Support/non_lvalue.ads
Duncan Sands ec44ba07b5 For multipart tests, place the parts with no
RUN line in Support.  Give up on sending output
to /dev/null - this cannot always be arranged.

llvm-svn: 40436
2007-07-23 13:41:53 +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;