/* Test for spurious "may or may not return a value" warnings. */ /* { dg-do compile } */ /* { dg-options "-Wextra" } */ #includ…
clipping+method 源代码
汇集 clipping+method 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* Do not warn about "slightly" mismatched method signatures if -Wstrict-selector-match is off. */ /* { dg-do compile } */ /…
/* Test if instance methods of root classes are used as class methods, if no "real" methods are found. For receivers of type '…
/* Check if casting the receiver type causes method lookup to succeed. This was broken in Objective-C++. */ /* Contributed by…
/* Test for sending messages to aliased classes (and instances thereof). */ /* Author: Ziemowit Laski . */ /* { dg-options "-lob…
/* Test if prior method lookup at method @implementation time is not overly aggressive, leading to methods being found in other…
/* Check if sending messages to "underspecified" objects is handled gracefully. */ /* Author: Ziemowit Laski . */ /* { dg-do com…
/* Tests of duplication. */ /* { dg-do compile } */ @interface class1 - (int) meth1; - (void) meth1; /* { dg-error "duplicate d…
/* Test for lookup of class (factory) methods. */ /* Author: Ziemowit Laski . */ /* { dg-do compile } */ @interface MyBase - (…
/* Check if class references (generated for the NeXT runtime) are appropriately folded. This test is safe to run on all targe…