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

10 lines
198 B
Plaintext

// #failed: resolve
// #error: non constant global declarations are illegal
// #error: expected an untyped constant
thing :: proc(): int {
return 0;
}
variable := thing();
constant :: thing();