aboutsummaryrefslogtreecommitdiffhomepage
path: root/type.h
diff options
context:
space:
mode:
Diffstat (limited to 'type.h')
-rw-r--r--type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/type.h b/type.h
index c3dffb7..6647e70 100644
--- a/type.h
+++ b/type.h
@@ -44,6 +44,7 @@ union type {
};
uint bits;
};
+static_assert(sizeof(union type) == 4);
#define isprimt(t) in_range((t), TYBOOL, TYVOID)
#define isintt(t) in_range((t), TYENUM, TYUVLONG)