blob: ca64d7efa8b66168b1bb82207f864ee87d467797 [file] [log] [blame]
// 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.
import 'package:expect/expect.dart';
class Super<T extends num> {}
class Malbounded extends Super<String> {}
main() {
Type t = Malbounded;
Expect.isTrue(t is Type);