Skip to content

Commit

Permalink
updated hello_world sample
Browse files Browse the repository at this point in the history
  • Loading branch information
harrand committed Apr 30, 2024
1 parent ca4cc59 commit 67ea57f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion samples/hello_world.psy
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
puts : (str : i8*) -> i64 = extern;

main : () -> i64
{
puts("Hello, World!");
return 0;
}

== build ==
== default : build ==
{
set_linkage("executable");
set_output("hello_world.exe");
Expand Down

0 comments on commit 67ea57f

Please sign in to comment.