Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extra/bin/update/c3
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cmake -DCMAKE_C_FLAGS="-w" ..
make -j$(nproc)

mkdir -p /usr/local/c3
[[ -f c3c ]] && cp c3c /usr/local/c3/
[[ -f c3c ]] && cp c3c /usr/local/c3/ && cp -R lib /usr/local/c3/lib

cd /
rm -rf /tmp/c3c
7 changes: 3 additions & 4 deletions extra/tests/c3/main.c3
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
module main;
import std::io;

extern func void printf(char *str, ...);

func int main()
fn int main()
{
printf("hello, world\n");
io::println("hello, world");
return 0;
}