blob: 4796e33d017069f57894b5073a74289c1f00f395 [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 abstract void addAll(Iterable<E> elements)
* Adds all of elements to this Set.
* @description Passes a list containing null to addAll(), expects no errors.
* @author pagolubev
* @reviewer msyabro
*/
main() {
Set<int> s = new Set<int>();
s.addAll([null]);
s.addAll([1, 2, null]);
}