#!/usr/bin/env ruby
require 'swig_assert'
require 'abstract_inherit'
include Abstract_inherit
exceptionRaised = false
begin
Foo.new
rescue NameError
exceptionRaised = true
rescue TypeError
exceptionRaised = true
ensure
swig_assert( "exceptionRaised", binding )
end
exceptionRaised = false
begin
Bar.new
rescue NameError
exceptionRaised = true
rescue TypeError
exceptionRaised = true
ensure
swig_assert( "exceptionRaised", binding )
end
exceptionRaised = false
begin
Spam.new
rescue NameError
exceptionRaised = true
rescue TypeError
exceptionRaised = true
ensure
swig_assert( "exceptionRaised", binding )
end