OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[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 *-*-darwin* } } */
3 /* { dg-options "-O0" } */
4 /* Radar 4015820 */
5
6 #include "../objc-obj-c++-shared/Object1.h"
7
8 void foo(void) {
9   Object *o;
10   [o++ free];
11 }
12 /* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */