From 0cef7e7f25b3bcd49f6525bc80ab0ad8297f27b2 Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Wed, 13 Sep 2023 14:58:28 -0500 Subject: pre-clippy --- examples/struct.sloth | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/struct.sloth (limited to 'examples') 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; +} -- cgit v1.2.3