diff options
Diffstat (limited to 'test/FrontendAda/non_lvalue.ads')
-rw-r--r-- | test/FrontendAda/non_lvalue.ads | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/FrontendAda/non_lvalue.ads b/test/FrontendAda/non_lvalue.ads new file mode 100644 index 0000000..7d4eeed --- /dev/null +++ b/test/FrontendAda/non_lvalue.ads @@ -0,0 +1,11 @@ +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; |