Home | History | Annotate | Download | only in SemaObjCXX
      1 // RUN: %clang_cc1 -fobjc-arc -isystem %S/Inputs %s -verify
      2 
      3 #include <arc-system-header.h>
      4 
      5 void f(A* a) {
      6   a->data.void_ptr = 0;
      7   a->data.a_b.b = 0; // expected-error{{'a_b' is unavailable: this system field has retaining ownership}}
      8 }
      9 // Silly location below
     10 // expected-note{{declaration has been explicitly marked unavailable here}}
     11