summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-bstruct.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-bstruct.scm b/tests/test-bstruct.scm
index c0e3aaa..7990ab2 100644
--- a/tests/test-bstruct.scm
+++ b/tests/test-bstruct.scm
@@ -66,6 +66,9 @@
(c u64)
(d u32)))
+;; For testing opaque types.
+(define-bstruct <opaque>)
+
(test-suite "bstruct"
(test-group "bstruct?"
(test-assert (bstruct? (bstruct-alloc <vec2>)))