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