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