👋
This commit is contained in:
11
tests/programs/test/helloworld.alpha
Normal file
11
tests/programs/test/helloworld.alpha
Normal file
@ -0,0 +1,11 @@
|
||||
#include "std.alpha"
|
||||
|
||||
entry (arg) := {
|
||||
[string: str; character: ch; integer: result]
|
||||
|
||||
ch := 'h';
|
||||
str := "Hello World!";
|
||||
result := printCharacter(ch);
|
||||
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user