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/TestsuiteObject.h"
7
8void foo(void) {
9  TestsuiteObject *o;
10  [o++ free];
11}
12/* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */
13