diff options
Diffstat (limited to 'gcc/testsuite/objc.dg/no-extra-load.m')
-rw-r--r-- | gcc/testsuite/objc.dg/no-extra-load.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/objc.dg/no-extra-load.m b/gcc/testsuite/objc.dg/no-extra-load.m new file mode 100644 index 00000000000..9b50e8358ba --- /dev/null +++ b/gcc/testsuite/objc.dg/no-extra-load.m @@ -0,0 +1,6 @@ +/* { dg-do compile { target *-*-darwin* } } */ + +#import <Foundation/Foundation.h> +main() { [NSObject new]; } + +/* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */ |