summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/builtin_objc_assign_ivar.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/builtin_objc_assign_ivar.m')
-rw-r--r--clang/test/SemaObjC/builtin_objc_assign_ivar.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/builtin_objc_assign_ivar.m b/clang/test/SemaObjC/builtin_objc_assign_ivar.m
new file mode 100644
index 0000000..5839bf4
--- /dev/null
+++ b/clang/test/SemaObjC/builtin_objc_assign_ivar.m
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -x objective-c %s -fsyntax-only -verify
+// rdar://9362887
+
+typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;
+extern id objc_assign_ivar(id value, id dest, ptrdiff_t offset);
+