// Copyright (c) 2020, 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. // This is a regression test for http://dartbug.com/40134. class GenericMethodBounds { Type get t => T; GenericMethodBounds foo() => new GenericMethodBounds(); GenericMethodBounds bar() => new GenericMethodBounds(); } class GenericMethodBoundsDerived extends GenericMethodBounds { GenericMethodBounds foo() => new GenericMethodBounds(); GenericMethodBounds bar() => new GenericMethodBounds(); } main() {}