blob: 424a0630458e6b308cf5c005975b64afccbd71d3 [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();
}
@NoInline()
test1() async /*2:test1*/ {
// This call is on the stack when the error is thrown.
await /*3:test1*/ test2();
}
@NoInline()
test2() async /*4:test2*/ {
/*5:test2*/ throw '>ExceptionMarker<';
}