llvm-project/clang/test/CodeGenObjCXX/msabi-stret.mm

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
385 B
Plaintext
Raw Normal View History

// RUN: %clang_cc1 -triple i686-unknown-windows-msvc -fobjc-runtime=ios-6.0 -Os -S -emit-llvm -o - %s -mframe-pointer=all | FileCheck %s
struct S {
S() = default;
S(const S &) {}
};
@interface I
+ (S)m:(S)s;
@end
S f() {
return [I m:S()];
}
// CHECK: declare dso_local void @objc_msgSend_stret(i8*, i8*, ...)
// CHECK-NOT: declare dllimport void @objc_msgSend(i8*, i8*, ...)