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: this system field has retaining ownership}}
8}
9// expected-note@arc-system-header.h:10{{declaration has been explicitly marked unavailable here}}
10