added new chicken runme script
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c388088863
commit
e639abae0f
1 changed files with 9 additions and 0 deletions
9
Examples/test-suite/chicken/newobject2_runme.ss
Normal file
9
Examples/test-suite/chicken/newobject2_runme.ss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(load-library 'newobject2 "newobject2.so")
|
||||
|
||||
(define f (make <Foo>))
|
||||
|
||||
(slot-set! f 'dummy 14)
|
||||
(if (not (= (slot-ref f 'dummy) 14))
|
||||
(error "Bad dummy value"))
|
||||
|
||||
(exit 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue