summaryrefslogtreecommitdiff
path: root/examples/01-struct/src
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-04-23 17:03:59 +0100
committerMichael Williamson <mike@zwobble.org>2026-04-23 17:03:59 +0100
commit045969708f21e19f852256f8bf934f4289b96495 (patch)
tree91e9f9dda9f5b4b4dd81be5e07332e0d98815b4f /examples/01-struct/src
parent2113d294e5194dd88b5e92142af505b52bd20adb (diff)
Add basic example
Diffstat (limited to 'examples/01-struct/src')
-rw-r--r--examples/01-struct/src/point.hob4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/01-struct/src/point.hob b/examples/01-struct/src/point.hob
new file mode 100644
index 0000000..82b55cc
--- /dev/null
+++ b/examples/01-struct/src/point.hob
@@ -0,0 +1,4 @@
+struct Point {
+ field x: Int32;
+ field y: Int32;
+}