blob: fd7f0ae78d2a34e0ce863eb823fc5724b6a976e3 [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 the use of a raw generic type with non-simple bounds in
// a bound of a type variable is detected when that generic type comes from a
// compiled .dill file.
//
// Note that the type variable of LinkedListEntry has non-simple bound because
// it references itself.
// https://api.dartlang.org/stable/1.24.3/dart-collection/LinkedListEntry-class.html
import 'dart:collection';
class Hest<X extends LinkedListEntry> {}
main() {}