diff --git a/tests/struct.er b/tests/struct.er index 2fcf6c0..ae0ea64 100644 --- a/tests/struct.er +++ b/tests/struct.er @@ -3,4 +3,12 @@ struct a { int y }; -int main() { return (0); } \ No newline at end of file +int printf(char* fmt); + +struct a str; + +int main() { + str.y = 55; + printf("%d\n", str.y); + return (0); +} \ No newline at end of file