blob: f92b7b44ce2fe211c6618fe6a70d243ad003b720 [file] [log] [blame]
/* APPLE LOCAL file radar 4491211 */
/* Test that in the presence of instantiated template as return method parameter
that is memory bound, we still generate objc_msgSend_stret for all platforms. */
/* { dg-do compile { target *-*-darwin* } } */
/* APPLE LOCAL radar 4492976 */
/* { dg-skip-if "" { *-*-darwin* } { "-m64" } { "" } } */
@interface Joiner {
}
-(void) joinWithAttributes;
@end
template<class A, class B, class C> struct mytuple {
A a_;
B b_;
C c_;
};
@interface Joiner (PRIVATE)
- (mytuple<int*, int*, int*>) addTrack;
@end
@implementation Joiner
-(void) joinWithAttributes {
[self addTrack];
}
@end
/* { dg-final { scan-assembler "objc_msgSend_stret" } } */