blob: 41e377e6de3344e0c9c3e2129e44aa39418c0c6f [file] [log] [blame]
// Copyright (c) 2018, 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.
import 'package:expect/expect.dart';
main() {
// This call is on the stack when the error is thrown.
/*1:main*/ test1();
}
// TODO(34942): Step 3 should point to the body block.
@NoInline()
test1 /*3:test1*/ () async {
// This call is on the stack when the error is thrown.
await /*5:test1*/ test2();
}
// TODO(34942): Step 7 should point to the body block.
@NoInline()
test2 /*7:test2*/ () async {
/*9:test2*/ throw '>ExceptionMarker<';
}