llvm-project/clang/test/CodeGenObjC/implicit-objc_msgSend.m
Nikita Popov 9466b49171 [Clang] Convert various tests to opaque pointers (NFC)
These were all tests where no manual fixup was required.
2022-12-12 17:11:46 +01:00

8 lines
304 B
Objective-C

// RUN: %clang_cc1 -Wno-implicit-function-declaration -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o %t %s
// RUN: grep -F 'declare ptr @objc_msgSend(ptr noundef, ptr noundef, ...)' %t
typedef struct objc_selector *SEL;
id f0(id x, SEL s) {
return objc_msgSend(x, s);
}