Index: tests/compiler/dart2js_native/subclassing_5_test.dart |
diff --git a/tests/compiler/dart2js_native/subclassing_5_test.dart b/tests/compiler/dart2js_native/subclassing_5_test.dart |
index 39703d13e0819a89b16594a548695037480ef19c..b1117dbd1c3eb4cd28e994db11bc082d294dc08b 100644 |
--- a/tests/compiler/dart2js_native/subclassing_5_test.dart |
+++ b/tests/compiler/dart2js_native/subclassing_5_test.dart |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
import "package:expect/expect.dart"; |
-import 'dart:_js_helper' show Creates, setNativeSubclassDispatchRecord; |
+import 'dart:_js_helper' show Native, Creates, setNativeSubclassDispatchRecord; |
import 'dart:_interceptors' show Interceptor, findInterceptorForType; |
// Test type checks. |
@@ -14,7 +14,8 @@ class M implements I { |
miz() => 'M'; |
} |
-class N native "N" {} |
+@Native("N") |
+class N {} |
class A extends N {} |