Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printf not being called in functions with no parameters #5

Open
Goubermouche opened this issue Dec 27, 2023 · 1 comment
Open

Printf not being called in functions with no parameters #5

Goubermouche opened this issue Dec 27, 2023 · 1 comment

Comments

@Goubermouche
Copy link
Owner

printf isn't being called in functions with no parameters

i32 test() {
    printf("test\n");
    ret 0;
}

i32 main() {
    test();
    ret 0;
}
@Goubermouche
Copy link
Owner Author

This appears to be a bug in the COFF emitter in TB. Reproducible on the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant