1 // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -fblocks %s
2 // expected-no-diagnostics
5 static id makeObject1() __attribute__((ns_returns_retained));
6 id makeObject2() __attribute__((ns_returns_retained));
9 void test_X0(X0 x0, X0 *x0p) {
13 id (X0::*pmf)() __attribute__((ns_returns_retained)) = &X0::makeObject2;