]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/objc.dg/isa-field-1.m
[objective-c/c++, testsuite, 2/3] Workaround for PR90709.
[thirdparty/gcc.git] / gcc / testsuite / objc.dg / isa-field-1.m
index 4501d01a11e605d36771671817b0aa5aa7b035a6..a786ec3deb50588d1bed1e4b6d3e8323215837e5 100644 (file)
@@ -1,5 +1,7 @@
 /* Ensure there are no bizarre difficulties with accessing the 'isa' field of objects.  */
 /* { dg-do compile } */
+/* The use of isa is deprecated, but we still want to test that it works. */
+/* { dg-additional-options "-Wno-deprecated-declarations" } */
 
 #include "../objc-obj-c++-shared/TestsuiteObject.h"
 #include "../objc-obj-c++-shared/runtime.h"