Index: tests/compiler/dart2js_native/native_class_fields_2_test.dart |
diff --git a/tests/compiler/dart2js_native/native_class_fields_2_test.dart b/tests/compiler/dart2js_native/native_class_fields_2_test.dart |
index b7ddbf78bd06b81ba9ac62d794b000583aa605b0..4e67b816f58fe0d3bef24c3675e7c7bf655a2e60 100644 |
--- a/tests/compiler/dart2js_native/native_class_fields_2_test.dart |
+++ b/tests/compiler/dart2js_native/native_class_fields_2_test.dart |
@@ -2,11 +2,13 @@ |
// 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"; |
// Verify that methods are not renamed to clash with native field names |
// that are known from the DOM (like x, y, z). |
-class A native "A" { |
+@Native("A") |
+class A { |
int x; |
int y; |
int z; |