blob: 8aaea597cf2f3158bc29c572164b6b3393bf6390 [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 The grammar of expressions is extended to allow any expression to
/// be suffixed with a !.
/// @description Check that any expression can be suffixed with a !. Test type
/// aliases
/// @author
// Requirements=nnbd-strong
class C {}
typedef CAlias = C?;
test(C c) {}
CAlias c = C();
main() {