diff options
Diffstat (limited to 'clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m')
| -rw-r--r-- | clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m b/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m index f1a57bde962..404928398fe 100644 --- a/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m +++ b/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m @@ -75,6 +75,10 @@ typedef struct __CFDictionary * CFMutableDictionaryRef; typedef struct CGImage *CGImageRef; +typedef struct OpaqueJSValue* JSObjectRef; + +typedef JSObjectRef TTJSObjectRef; + CF_IMPLICIT_BRIDGING_DISABLED @interface I @@ -94,3 +98,9 @@ CF_IMPLICIT_BRIDGING_DISABLED @interface NSMutableData - (void *)mutableBytes __attribute__((deprecated)) __attribute__((unavailable)); @end + +@interface JS +- (JSObjectRef)JSObject; +- (TTJSObjectRef)JSObject1; +- (JSObjectRef*)JSObject2; +@end |

