OSDN Git Service

* objc.dg/objc-fast-4.m: Skip for ppc64.
[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 /* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
5 /* Radar 4015820 */
6
7 #include <objc/Object.h>
8
9 void foo(void) {
10   Object *o;
11   [o++ free];
12 }
13 /* { dg-final { scan-assembler-not "objc_msgSend" } } */