blob: d51ee0d4df93d0f079638975e8cd2da676a297af [file] [log] [blame]
// 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.
/*@testedFeatures=inference*/
library test;
class A<T extends int> {}
class B<T extends /*error:NOT_INSTANTIATED_BOUND*/ A> {}
B v = throw '';
test() {
v;
}