Index: tests/compiler/dart2js_native/native_method_rename1_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_method_rename1_frog_test.dart b/tests/compiler/dart2js_native/native_method_rename1_frog_test.dart |
index 286e58810ae5ed6e7dd79afcbfaa4d97d0c285d2..22e2eaccf3a9c866a35ad4474a93e7d18f2d6f04 100644 |
--- a/tests/compiler/dart2js_native/native_method_rename1_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_method_rename1_frog_test.dart |
@@ -5,9 +5,10 @@ |
// Test the feature where the native string declares the native method's name. |
import "package:expect/expect.dart"; |
-import 'dart:_js_helper' show JSName; |
+import 'dart:_js_helper' show Native, JSName; |
-class A native "A" { |
+@Native("A") |
+class A { |
@JSName('fooA') |
int foo() native; |