Skip to content

Argv input doesn't work #7

@Sh3b0

Description

@Sh3b0

Code to reproduce

routine main(x: integer) : integer is
	println x;
	return 0;
end
$ ./cplus -d source.cp
$ ./a.out 5

Expected output

Prints 5

Actual output

Prints other random value, although the generated ir.ll seems correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions