1// RUN: %clang_cc1 -fobjc-arc -isystem %S/Inputs %s -verify 2 3#include <arc-system-header.h> 4 5void f(A* a) { 6 a->data.void_ptr = 0; 7 a->data.a_b.b = 0; // expected-error{{'a_b' is unavailable in ARC}} 8} 9// expected-note@arc-system-header.h:10{{field has non-trivial ownership qualification}} 10