blob: a8b8bf71f7aa2a665cebe5e1bcf0542b27591b62 [file] [log] [blame]
// Copyright (c) 2011, 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 void forEach(void action(E entry))
/// Call [action] with each entry in the list.
/// @description Checks that no exception is thrown if the list is empty.
/// @author kaigorodov
import "dart:collection";
import "LinkedList.lib.dart";
main() {
new LinkedList<MyLinkedListEntry>().forEach((var v){});