blob: c2a98feb0615e6ff4dad7600fa9a54249529041a [file] [log] [blame] [edit]
// Copyright (c) 2017, 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.
library test;
abstract class C {}
abstract class D<T> {
D(T t);
}
void test() {
var x = new C();
var y = new D(1);
D<List<int>> z = new D([]);
}
main() {}