clang/test/Rewriter/rewrite-modern-qualified-type.mm
raw| 1 | // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp |
| 2 | // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D_Bool=bool -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp |
| 3 | |
| 4 | @protocol OS_dispatch_object @end |
| 5 | |
| 6 | @interface NSObject @end |
| 7 | |
| 8 | @protocol OS_dispatch_queue <OS_dispatch_object> @end typedef NSObject<OS_dispatch_queue> *dispatch_queue_t; |
| 9 | |
| 10 | typedef id<OS_dispatch_queue> dispatch_queue_i; |