/trunk/Examples/test-suite/schemerunme/casts.scm

# · Lisp · 8 lines · 3 code · 3 blank · 2 comment · 0 complexity · ad82da50962ce186be0a7cb388f0b9a6 MD5 · raw file

  1. (define x (new-B))
  2. ;; This fails in 1.3a5 because the SWIG/Guile runtime code gets the
  3. ;; source and the target of a cast the wrong way around.
  4. (A-hello x)
  5. (exit 0)