Index: test/samples/trusttypes1.dart |
diff --git a/test/samples/trusttypes1.dart b/test/samples/trusttypes1.dart |
deleted file mode 100644 |
index 86bd39b64dccaccb119d4a3e522bca94f77a1d40..0000000000000000000000000000000000000000 |
--- a/test/samples/trusttypes1.dart |
+++ /dev/null |
@@ -1,28 +0,0 @@ |
-// Copyright (c) 2015, 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 'dart:math'; |
- |
-class A { |
- int x = 42; |
-} |
-void bar(A a) { |
- // Is this integer addition? |
- print(a.x + a.x); |
-} |
- |
-void main() { |
- Map<A, Function> map = <A, Function>{ |
- new A(): bar, |
- new B(new Point<int>(1, 2)): print, |
- }; |
- map.forEach((A a, Function f) => f(a)); |
-} |
- |
-class B extends A { |
- var _x; |
- B(this._x); |
- |
- get x => _x; |
-} |