1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-07 21:36:08 +00:00
This commit is contained in:
Calvin Rose
2024-10-18 18:17:06 -05:00
parent 07155ce657
commit 2b84fb14b4
2 changed files with 4 additions and 6 deletions

View File

@@ -53,9 +53,6 @@
"array struct size"))
(compwhen has-ffi
(assert-no-error "bad struct issue #1512" (ffi/struct :void))
(def s (ffi/struct :void))
(assert (= 0 (ffi/size s)))
(assert (= 1 (ffi/align s))))
(assert-error "bad struct issue #1512" (ffi/struct :void)))
(end-suite)