blob: cce55d8692e490cebc68b77fa1dc45868a595708 [file] [log] [blame]
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart = 2.9
// VMOptions=--optimization-filter=var50 --deoptimize-every=1
final var50 = Expando<int>('expando');
foo(int arg) {
if (arg >= 14) {
return var50[15];
}
try {
return foo(arg + 1);
} catch (exception) {}
foo(arg + 1);
}
main() {
try {
foo(0);
} catch (e) {
print('rows');
}
}