Index: tests/compiler/dart2js_native/oddly_named_fields_test.dart |
diff --git a/tests/compiler/dart2js_native/oddly_named_fields_test.dart b/tests/compiler/dart2js_native/oddly_named_fields_test.dart |
index b2dae29638c998b52e21895a289c617757e102bb..984e4d1276e5e5531182f8edc0b1795d83200dd2 100644 |
--- a/tests/compiler/dart2js_native/oddly_named_fields_test.dart |
+++ b/tests/compiler/dart2js_native/oddly_named_fields_test.dart |
@@ -61,7 +61,8 @@ import 'dart:_js_helper'; |
// See section 11.2 "Left-Hand-Side Expressions" which states that a |
// "MemberExpression" includes: "MemberExpression . IdentifierName". |
-class NativeClassWithOddNames native "NativeClassWithOddNames" { |
+@Native("NativeClassWithOddNames") |
+class NativeClassWithOddNames { |
@JSName('break') bool breakValue; |
@JSName('case') bool caseValue; |
@JSName('catch') bool catchValue; |