Init new repository
This commit is contained in:
8
tests/void_ptr_index.txt
Normal file
8
tests/void_ptr_index.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
// #failed: resolve
|
||||
// #error: void is non indexable
|
||||
|
||||
main :: proc(): int {
|
||||
a: *void = nil;
|
||||
r := a[10];
|
||||
return 1;
|
||||
}
|
||||
Reference in New Issue
Block a user