anchor.diff:      });
     }
   
  -  test_annotation_topLevelVariable() async {
  -    addNamedSource('/a.dart', r'''
  +  test_topLevelVariable() async {
  +    newFile('/test/lib/a.dart', content: r'''
   const V = 0;
   ''');
       await _validateAnnotation('', '@V', (SimpleIdentifier name1,
  
positive.code: 
  main() {
    defineReflectiveSuite(() {
      defineReflectiveTests(ElementResolverCodeTest);
      defineReflectiveTests(ElementResolverTest);
      defineReflectiveTests(PreviewDart2Test);
    });
  
negative.code: import 'package:test/test.dart';
  import 'package:test_reflective_loader/test_reflective_loader.dart';
  
  import '../src/dart/resolution/driver_resolution.dart';
  import '../util/element_type_matchers.dart';
  import '../utils.dart';
  import 'analysis_context_factory.dart';
  