Index: tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart b/tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart |
index 1c2f5a99730b487fff24db5ca518f026ab332b7a..f7581b2e8ecc44acb74e9e16c42f93cc4d530ab5 100644 |
--- a/tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart |
@@ -2,12 +2,15 @@ |
// 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"; |
-class A native "A" { |
+@Native("A") |
+class A { |
} |
-class B extends A native "B" { |
+@Native("B") |
+class B extends A { |
foo() native; |
} |