blob: 8a76dcc7e61ed44244f1ee0ec20814704ebca94c [file] [log] [blame]
// Copyright (c) 2016, 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.9
/// @assertion LinkedList<E> list
/// Get the linked list containing this element.
/// Returns [null] if this entry is not currently in any list.
/// @description Checks that [null] is returned if this entry is not currently in
/// any list
/// @author sgrekhov@unipro.ru
import "../../../Utils/expect.dart";
import "LinkedListEntry.lib.dart";
main() {
MyLinkedListEntry<int> entry = new MyLinkedListEntry<int>(1);
Expect.isNull(entry.list);
}