blob: 4ab59077a190495d96e1cee4acbb7fe00fc6d48e [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> //# 00: compile-time error
main() {
Type t = Malbounded;
Expect.isTrue(t is Type);