added tests for assignable and memory
This commit is contained in:
10
tests/sprint2/test/test_invalid_recop.alpha
Normal file
10
tests/sprint2/test/test_invalid_recop.alpha
Normal file
@ -0,0 +1,10 @@
|
||||
type rec: [integer: x; integer: y]
|
||||
|
||||
entry(arg) := {
|
||||
[rec: w]
|
||||
w := reserve w;
|
||||
w.x := 1;
|
||||
w.y := 2;
|
||||
w.z := 3;
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user