clang/test/SemaObjCXX/builtin-objcsuper.mm
raw| 1 | // RUN: %clang_cc1 -verify %s |
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | // objc_super has special lookup rules for compatibility with macOS headers, so |
| 5 | // the following should compile. |
| 6 | struct objc_super {}; |
| 7 | extern "C" id objc_msgSendSuper(struct objc_super *super, SEL op, ...); |
| 8 | extern "C" void objc_msgSendSuper_stret(struct objc_super *super, SEL op, ...); |