// Copyright (c) 2013, 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. // Test for F-Bounded Quantification. class FBound1, F2 extends FBound2> { Test() { new FBound1(); new FBound2(); } } class FBound2, F2 extends FBound2> { Test() { new FBound1(); new FBound2(); } } class Bar extends FBound1 {} class Baz extends FBound2 {} main() { new FBound1().Test(); new FBound2().Test(); }