Index: tests/compiler/dart2js_native/native_method_rename2_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_method_rename2_frog_test.dart b/tests/compiler/dart2js_native/native_method_rename2_frog_test.dart |
index f3d4bffa671fc3e6e698ce42a3e0d44b170f45ed..c030c7ebc6113595155972f289cfa2388001f6a5 100644 |
--- a/tests/compiler/dart2js_native/native_method_rename2_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_method_rename2_frog_test.dart |
@@ -5,11 +5,13 @@ |
// Test the feature where the native string declares the native method's name. |
class A native "*A" { |
- int foo() native 'fooA'; |
+ @JSName('fooA') |
+ int foo() native; |
} |
class B extends A native "*B" { |
- int foo() native 'fooB'; |
+ @JSName('fooB') |
+ int foo() native; |
} |
makeA() native; |