blob: a84b9a4ca726f32b852b9d50f92efea0906c8c0c [file] [log] [blame]
// Copyright (c) 2014, 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.
// @dart = 2.7
import "package:expect/expect.dart";
// Regression test for Issue 16407.
void main() {
foo(null, true);
foo('x', false);
var foo = (x, result) {
Expect.equals(result, x is Null, '$x is Null');