blob: cf9d93876963882ad4343bd9837f40e8c870160c [file] [log] [blame]
// 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.
/*element: main:[]*/
main() {
switchThrowing();
}
/*element: switchThrowing:[]*/
@pragma('dart2js:noInline')
switchThrowing() {
switch (0) {
case 0:
_switchThrowing();
break;
default:
return;
}
}
/*element: _switchThrowing:[]*/
_switchThrowing() {
throw '';
}