blob: b872bd07d841ba406d460b4ac35c6e4dc544eaa4 [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.
main() {
// This call is on the stack when the error is thrown.
/*1:main*/
test1();
}
@pragma('dart2js:noInline')
test1() async {
// This call is on the stack when the error is thrown.
/*3:test1*/
await /*5:test1*/ test2();
}
@pragma('dart2js:noInline')
test2() async {
/*9:test2*/ /*7:test2*/
throw '>ExceptionMarker<';
}