public void ProcNew4() { TestOutput(@" class P < Proc def initialize *args, &b p args, b.class, self.class, block_given? 123 end end def arg puts 'arg' [] end def foo P.new(*arg) end foo { puts 1 } ", @" arg [] NilClass P false "); }