anchor.diff:      }
     }
   }
  -''');
  +''',
  +        allowErrors: true);
     }
   
     test_localLabels_inMethod() {
  -    checkLibrary(r'''
  +    checkLibrary(
  +        r'''
   class C {
     m() {
       aaa: while (true) {}
  
positive.code:       break;
    }
  }
  ''');
    }
  
    test_localVariables_inConstructor() {
  
negative.code:     }
    }
  }
  ''',
          allowErrors: true);
    }
  
    test_localLabels_inTopLevelFunction() {
      checkLibrary(
          r'''
  main() {
    aaa: while (true) {}
    bbb: switch (42) {
  