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

12 lines
164 B
Plaintext

// #failed: resolve
main :: proc(): int {
// #error: there are 2 decls with the same name 'a'
// #error: a
a: int;
{
a: int;
}
return 1;
}