aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index dcfb5a5bc..9c64ea733 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -827,6 +827,7 @@ bit_set_type :: proc() {
}
X :: Saturday in WEEKEND; // Constant evaluation
fmt.println(X);
+ fmt.println("Cardinality:", card(e));
}
{
x: bit_set['A'..'Z'];