Index: tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart b/tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart |
index 2620f96dab791fcb2ab0e1e5176e73b57780dc3f..b0d63e210b6d6e7e0e8014fb1dddc48a5c2f634a 100644 |
--- a/tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart |
@@ -2,13 +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"; |
// Native class with named constructors and static methods. |
-class A native "A" { |
+@Native("A") |
+class A { |
factory A(int len) => _construct(len); |