blob: d8fa90c95a28823f2934c2e0fb829825f5e08365 [file] [log] [blame]
/*
* Copyright (c) 2020, 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 It's not a compile error to read definitely unassigned local
* variable in the form var x;
*
* @description Checks that it's not a compile error to read definitely
* unassigned local variable in the form var x;.
*
* @author sgrekhov@unipro.ru
*/
// Requirements=nnbd-strong
import "../../Utils/expect.dart";
main() {
var x1;
Expect.isNull(x1);
}