Index: tests/compiler/dart2js_native/native_exception2_test.dart |
diff --git a/tests/compiler/dart2js_native/native_exception2_test.dart b/tests/compiler/dart2js_native/native_exception2_test.dart |
index 6f26332de00e75f208f19aedeee63b7cde223afe..113e9ef1b8dfbd3f78ad347b09f4cf68aeb05711 100644 |
--- a/tests/compiler/dart2js_native/native_exception2_test.dart |
+++ b/tests/compiler/dart2js_native/native_exception2_test.dart |
@@ -8,8 +8,10 @@ |
library native_exception2_test; |
import 'native_exception_test.dart' as other; |
+import 'dart:_js_helper'; |
-class NativeClass native "NativeClass" { |
+@Native("NativeClass") |
+class NativeClass { |
} |
makeNativeClass() native; |