Init new repository

This commit is contained in:
Krzosa Karol
2024-04-13 15:29:53 +02:00
commit 5a2e3dcec4
335 changed files with 61571 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
// #failed: resolve
Some_Struct :: struct {
item: int;
another_item: int;
}
main :: proc() {
ss: Some_Struct;
if ss.item {
{
// #error: undeclared identifier 'i'
a := ss.i;
// #error: undeclared identifier 'b'
ss.item = b - a;
}
}
@unused thing: Some_Struct;
// #error: undeclared identifier 'undeclared'
undeclared;
another_thing: Some_Struct;
// #error: very likely a bug, expression statement
another_thing;
}