2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / gcc / testsuite / objc.dg / objc-fast-4.m
blobb86e395294f19a0879844a1adf6912ca44a0a842
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 */
6 #include "../objc-obj-c++-shared/Object1.h"
8 void foo(void) {
9   Object *o;
10   [o++ free];
12 /* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */