blob: 921f792ca0b91ea9a2dfb10e61c5769445a809bb [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 add(T value)
* Adds [value] into the set. The method has no effect if [value] was already in the set.
* @description Checks that a null value can be added without error.
* @author pagolubev
* @reviewer msyabro
*/
main() {
Set<int> s = new Set<int>();
s.add(null);
}