blob: 12f326238a213d2b57b2de4e78cbd00f1908e6f2 [file] [log] [blame]
// Copyright (c) 2018, 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.
import 'package:expect/expect.dart';
main() {
dynamic c = new Class<int>();
c.method();
}
class Class<T> {
method<S extends T>() => null;
}