Files
ANSLibs/swig-4.3.0/Examples/test-suite/schemerunme/inherit_missing.scm

15 lines
291 B
Scheme
Raw Normal View History

(define a (new-Foo))
(define b (new-Bar))
(define c (new-Spam))
(if (not (string=? (do-blah a) "Foo::blah"))
(error "Bad return"))
(if (not (string=? (do-blah b) "Bar::blah"))
(error "Bad return"))
(if (not (string=? (do-blah c) "Spam::blah"))
(error "bad return"))
(exit 0)