]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/objc.dg/no-extra-load.m
[objective-c/c++, testsuite, 2/3] Workaround for PR90709.
[thirdparty/gcc.git] / gcc / testsuite / objc.dg / no-extra-load.m
index f5e1d74563d52f306b004a26bd4716f67255d0b5..35bd1daf661aa35130f17c6b6e48978fb5d3aa1b 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile { target *-*-darwin* } } */
 /* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */
 
-#include <Foundation/NSObject.h>
+#include "../objc-obj-c++-shared/F-NSObject.h"
 main() { [NSObject new]; }
 
 /* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */