Ted Kremenek | f7639e1 | 2012-03-06 20:06:33 +0000 | [diff] [blame] | 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 | |||||
Ted Kremenek | f7639e1 | 2012-03-06 20:06:33 +0000 | [diff] [blame] | 7 | dispatch_object_t getme(void); |
8 | |||||
9 | void func(dispatch_object_t o) { | ||||
10 | getme(); | ||||
11 | } | ||||
12 | |||||
13 | void func2(xpc_object_t o) { | ||||
14 | } |