From 5113f2157c5aa257ad7ebf555cb6a551701d169a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 10 Aug 2026 10:19:49 +0100 Subject: Add generic struct example without any outputs --- examples/03-sum/src/shapes.hob | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 examples/03-sum/src/shapes.hob (limited to 'examples/03-sum/src/shapes.hob') diff --git a/examples/03-sum/src/shapes.hob b/examples/03-sum/src/shapes.hob deleted file mode 100644 index 03a727a..0000000 --- a/examples/03-sum/src/shapes.hob +++ /dev/null @@ -1,17 +0,0 @@ -/// A 2D shape. -sum Shape { - variant Rectangle; - variant Triangle; - - field width: Int32; -} - -struct Rectangle { - field width: Int32; - field height: Int32; -} - -struct Triangle { - field width: Int32; - field height: Int32; -} -- cgit v1.2.3