| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /// Shaker tests verify that portions of this file are preserved and that the | 5 /// Shaker tests verify that portions of this file are preserved and that the |
| 6 /// rest is tree-shaken. | 6 /// rest is tree-shaken. |
| 7 library lib; | 7 library lib; |
| 8 | 8 |
| 9 toplevel() => null; | 9 toplevel() => null; |
| 10 | 10 |
| 11 class _A {} | 11 class _A {} |
| 12 | 12 |
| 13 class B extends _A {} | 13 class B extends _A {} |
| 14 | 14 |
| 15 class C extends _A {} | 15 class C extends _A {} |
| 16 | 16 |
| 17 class K {} | 17 class K {} |
| 18 | 18 |
| 19 class M2 {} | 19 class M2 {} |
| 20 | 20 |
| 21 class M3 {} | 21 class M3 {} |
| 22 | 22 |
| 23 class M1 extends Object with M2 implements M3 {} | 23 class M1 extends Object with M2 implements M3 {} |
| 24 | 24 |
| 25 class Bound {} | 25 class Bound {} |
| 26 | 26 |
| 27 class Base<T extends Bound> {} | 27 class Base<T extends Bound> {} |
| 28 | 28 |
| 29 typedef T MyTypedef<T>(T arg); | 29 typedef T Typedef1<T>(T arg); |
| 30 |
| 31 typedef String Typedef2(int arg); |
| 30 | 32 |
| 31 class F { | 33 class F { |
| 32 K field; | 34 K field; |
| 33 } | 35 } |
| OLD | NEW |