diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-09-13 14:58:28 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-09-13 14:58:28 -0500 |
| commit | 0cef7e7f25b3bcd49f6525bc80ab0ad8297f27b2 (patch) | |
| tree | 8ad31044e738c586dcd22695d7e1bb615269f112 /examples | |
| parent | 2ab284b39ba2abd05d4cbc1da74582329ab84807 (diff) | |
| download | sloth-0cef7e7f25b3bcd49f6525bc80ab0ad8297f27b2.tar.gz | |
pre-clippy
Diffstat (limited to 'examples')
| -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; +} |
