Files
lib_compiler/tests/void_ptr_index.txt
2024-04-13 15:29:53 +02:00

8 lines
127 B
Plaintext

// #failed: resolve
// #error: void is non indexable
main :: proc(): int {
a: *void = nil;
r := a[10];
return 1;
}