blob: 9d44df45a57883e1f0932613d31d7376aec3dd03 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// The code should call objc_msgSend directly, not through a pointer.
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-options "-O0 -fnext-runtime" } */
#include <objc/Object.h>
void foo(void) {
Object *o;
[o++ free];
}
/* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */
|