blob: c5aabb1825c6da25122bf83a272d5173775f1a92 [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 B<T extends /*error:NOT_INSTANTIATED_BOUND*/ A> {}
class A<T extends int> {}
B v = throw '';
test() {
v;
}