diff options
Diffstat (limited to 'examples/struct.sloth')
| -rw-r--r-- | examples/struct.sloth | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/struct.sloth b/examples/struct.sloth new file mode 100644 index 0000000..a9f9750 --- /dev/null +++ b/examples/struct.sloth @@ -0,0 +1,8 @@ +fn main() Int { + struct Time { + var hr: Int; + var mn: Int; + } + println("Hello Struct"); + return 0; +} |
