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