Index: tests/compiler/dart2js_native/core_type_check_native_test.dart |
diff --git a/tests/compiler/dart2js_native/core_type_check_native_test.dart b/tests/compiler/dart2js_native/core_type_check_native_test.dart |
index 11890a128bdcff984e0dd06074f6c10f0718364c..41a41094aeb83e3a9ec100f4c4485923a48e0ca8 100644 |
--- a/tests/compiler/dart2js_native/core_type_check_native_test.dart |
+++ b/tests/compiler/dart2js_native/core_type_check_native_test.dart |
@@ -2,20 +2,25 @@ |
// 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:_js_helper"; |
import "package:expect/expect.dart"; |
var inscrutable = (int x) => x == 0 ? 0 : x | inscrutable(x & (x - 1)); |
-class A native "A" { |
+@Native("A") |
+class A { |
} |
-class B implements Comparable native "B" { |
+@Native("B") |
+class B implements Comparable { |
} |
-class C implements Pattern native "C" { |
+@Native("C") |
+class C implements Pattern { |
} |
-class D implements Pattern, Comparable native "D" { |
+@Native("D") |
+class D implements Pattern, Comparable { |
} |
makeA() native; |