~ubuntu-branches/ubuntu/hardy/swig1.3/hardy

« back to all changes in this revision

Viewing changes to Examples/test-suite/chicken/overload_extend_runme_proxy.ss

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:16:04 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205011604-ygx904it6413k3go
Tags: 1.3.27-1ubuntu1
Resynchronise with Debian again, for the new subversion packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(load "./overload_extend.so")
 
2
 
 
3
(define f (make <Foo>))
 
4
 
 
5
(if (not (= (test f 3) 1))
 
6
  (error "test integer bad"))
 
7
 
 
8
(if (not (= (test f "hello") 2))
 
9
  (error "test string bad"))
 
10
 
 
11
(if (not (= (test f 3.5 2.5) 6.0))
 
12
  (error "test reals bad"))
 
13
 
 
14
(exit 0)