Index: tests/compiler/dart2js_native/native_method_inlining_test.dart |
diff --git a/tests/compiler/dart2js_native/native_method_inlining_test.dart b/tests/compiler/dart2js_native/native_method_inlining_test.dart |
index 8509685a2a6bfe3b90ca9ff3ba94ed96d9113ddb..a3aee2cb500dc96360b8197673ba8a6630c55c21 100644 |
--- a/tests/compiler/dart2js_native/native_method_inlining_test.dart |
+++ b/tests/compiler/dart2js_native/native_method_inlining_test.dart |
@@ -6,11 +6,12 @@ |
// number of arguments in the call site AND the call site is inlined. |
import "package:expect/expect.dart"; |
-import 'dart:_js_helper' show NoInline; |
+import 'dart:_js_helper' show Native, NoInline; |
typedef int Int2Int(int x); |
-class A native "A" { |
+@Native("A") |
+class A { |
int foo([x, y, z]) native; |
// Calls can be inlined provided they don't pass an argument. |