Init new repository
This commit is contained in:
12
tests/error_on_shadowing.txt
Normal file
12
tests/error_on_shadowing.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
// #failed: resolve
|
||||
main :: proc(): int {
|
||||
|
||||
// #error: there are 2 decls with the same name 'a'
|
||||
// #error: a
|
||||
a: int;
|
||||
{
|
||||
a: int;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
Reference in New Issue
Block a user