Init new repository
This commit is contained in:
10
tests/error_call_proc_in_global_space.txt
Normal file
10
tests/error_call_proc_in_global_space.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
// #failed: resolve
|
||||
// #error: non constant global declarations are illegal
|
||||
// #error: expected an untyped constant
|
||||
|
||||
thing :: proc(): int {
|
||||
return 0;
|
||||
}
|
||||
|
||||
variable := thing();
|
||||
constant :: thing();
|
||||
Reference in New Issue
Block a user