anchor.diff:      </template>
     ''',
     directives: const [NgTemplateOutlet],
  -  // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
  -  visibility: Visibility.all,
   )
   class TestContextTemplateRefChangeComponent {
     bool isGreeting = true;
  
positive.code:   directives: const [NgTemplateOutlet, CaptureTplRefs],
    template: '<tpl-refs #refs="tplRefs"><template>foo</template></tpl-refs>'
        '<template [ngTemplateOutlet]="currentTplRef"></template>',
    // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
    visibility: Visibility.all,
  )
  class TestClearContentComponent {
    TemplateRef currentTplRef;
  }
  
  @Component(
  
negative.code: }
  
  @Directive(
    selector: "tpl-refs",
    exportAs: "tplRefs",
  )
  class CaptureTplRefs {
    @ContentChildren(TemplateRef)
  