blob: 175c2ebd031251e32bbbbbc46e704fe33cdd64c9 [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.
// @dart=2.9
// This test checks that type inference invokes instantiate to bound to provide
// type arguments to constructor invocations in cases when nothing constrains
// the arguments or the invocation.
class A<T extends num> {}
main() {
new A();
}