Init new repository
This commit is contained in:
8
tests/error_when_assigning_compo_to_global.txt
Normal file
8
tests/error_when_assigning_compo_to_global.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
a: [2]int;
|
||||
|
||||
main :: proc(): int {
|
||||
a = {[1] = 2};
|
||||
a = {1, 2};
|
||||
|
||||
return a[1] - 2;
|
||||
}
|
||||
Reference in New Issue
Block a user