Commit 3385a33e authored by Carson McDonald's avatar Carson McDonald

Add two tests for issue #1467

parent 7a2e0d6c
......@@ -481,3 +481,25 @@ assert('Module#inspect') do
assert_equal 'Test4to_sModules', Test4to_sModules.inspect
end
assert('Issue 1467') do
module M1
def initialize()
super()
end
end
class C1
include M1
def initialize()
super()
end
end
class C2
include M1
end
C1.new
C2.new
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment