| 1 | // RUN: %clang_cc1 -x objective-c %s -fsyntax-only -verify |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | // rdar://9362887 |
| 4 | |
| 5 | typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; |
| 6 | extern id objc_assign_ivar(id value, id dest, ptrdiff_t offset); |
| 7 | |
| 8 |
| 1 | // RUN: %clang_cc1 -x objective-c %s -fsyntax-only -verify |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | // rdar://9362887 |
| 4 | |
| 5 | typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; |
| 6 | extern id objc_assign_ivar(id value, id dest, ptrdiff_t offset); |
| 7 | |
| 8 |