OSDN Git Service

* objc.dg/isa-field-1.m: Only run on darwin.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / objc.dg / objc-fast-4.m
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>
5
6 void foo(void) {
7   Object *o;
8   [o++ free];
9 }
10 /* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */