public void BlockDefinition1() {
TestOutput(@"
a = []
b = []
2.times {
a << -> {}
b << proc { }
}
puts a[0] == a[1], a[0].object_id == a[1].object_id, a[0].lambda?, a[1].lambda?
puts b[0] == b[1], b[0].object_id == b[1].object_id, b[0].lambda?, b[1].lambda?
", @"
false
false
true
true
false
false
false
false
");
}