1// RUN: %clang_cc1 -fblocks -fsyntax-only -fobjc-arc -x objective-c %s.result
2// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fblocks -fsyntax-only -x objective-c %s > %t
3// RUN: diff %t %s.result
4
5#include "Common.h"
6
7dispatch_object_t getme(void);
8
9void func(dispatch_object_t o) {
10  dispatch_retain(o);
11  dispatch_release(o);
12  dispatch_retain(getme());
13}
14
15void func2(xpc_object_t o) {
16  xpc_retain(o);
17  xpc_release(o);
18}
19