summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/no-extra-load.m
blob: 75035357926cb1cf59e02a7d8a84591cf250f02b (plain)
1
2
3
4
5
6
7
/* { dg-do compile { target *-*-darwin* } } */
/* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */

#import <Foundation/Foundation.h>
main() { [NSObject new]; }

/* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */