Files
sdk/tests/compiler/dart2js/sourcemaps/stacktrace/rethrow.dart
T
Johnni Winther cb0978d691 Read stacktrace_test data from files.
Change-Id: I5dc3a2ef8ec8e77498ec09590f871e07d0beb5c5
Reviewed-on: https://dart-review.googlesource.com/21801
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2017-11-20 09:08:35 +00:00

20 lines
439 B
Dart

// Copyright (c) 2017, 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() {
/*1:main*/ test();
}
@NoInline()
test() {
try {
/*2:test*/ throw '>ExceptionMarker<';
// ignore: UNUSED_CATCH_CLAUSE
} on String catch (e) {
rethrow;
}
}