summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2024-11-23 10:39:19 -0500
committerDavid Thompson <dthompson2@worcester.edu>2024-11-23 10:42:28 -0500
commitfaca7af5916d07a342d0c6076c2ea6a5610a81a9 (patch)
treeb65ab7ce4e872125ee7b04797daa7093c77b8903 /tests
parent8aff7a348967bafa5deeea10916d72370888a7d5 (diff)
Fix opaque types.
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>)))