anchor.diff:    template: '<tpl-refs #refs="tplRefs"><template>foo</template><template>'
         'bar</template></tpl-refs><template '
         '[ngTemplateOutlet]="currentTplRef"></template>',
  -  // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
  -  visibility: Visibility.all,
   )
   class TestChangeContentComponent {
     TemplateRef currentTplRef;
  +
  +  @ViewChild('refs')
  +  CaptureTplRefs refs;
   }
   
   @Component(
  
positive.code:   selector: "test-cmp-null",
    directives: const [NgTemplateOutlet, CaptureTplRefs],
    template: '<template [ngTemplateOutlet]="null"></template>',
    // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
    visibility: Visibility.all,
  )
  class TestWithNullComponent {
    TemplateRef currentTplRef;
  
negative.code:   directives: const [NgTemplateOutlet, CaptureTplRefs],
    template: '<tpl-refs #refs="tplRefs"><template>foo</template></tpl-refs>'
        '<template [ngTemplateOutlet]="currentTplRef"></template>',
  )
  class TestClearContentComponent {
    TemplateRef currentTplRef;
  
    @ViewChild('refs')
    CaptureTplRefs refs;
  }
  
  @Component(
  