blob: e821d50c85f4d472d53489ebb7e1a5d474308c85 [file] [log] [blame]
// Copyright (c) 2019, 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.
/// @assertion A new primitive type Never. This type is denoted by the built-in
/// type declaration Never declared in dart:core.
/// @description Check new primitive type Never. Test type alias
/// @author
// Requirements=nnbd-strong
typedef Neverland = Never;
Neverland fail() {
throw new Exception();
main() {
try {
} on Exception catch(_) {}