X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Fstructs.lisp;h=3c886a170e7db27b19511c02e65732fc85ffc2e1;hb=87acde9ae931ba8ac7bd486809f6dab3b2448790;hp=6eb7577d4a3438a1b270fe2b05793793b53435f5;hpb=ebedde4e67b858b1f65c5eb4dc7bc45978ed1e40;p=uffi.git diff --git a/tests/structs.lisp b/tests/structs.lisp index 6eb7577..3c886a1 100644 --- a/tests/structs.lisp +++ b/tests/structs.lisp @@ -24,8 +24,13 @@ (uffi:def-foreign-type foo-ptr (* foo)) ;; tests that compilation worked -(deftest structs.1 +(deftest :structs.1 (with-foreign-object (p 'foo) t) t) +(deftest :structs.2 + (progn + (uffi:def-foreign-type foo-struct (:struct foo)) + t) + t)