/* Test for lookup of class (factory) methods. */ /* Author: Ziemowit Laski . */ /* { dg-do compile } */ @interface MyBase - (…
Programming+Method 源代码
汇集 Programming+Method 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* Check if class references (generated for the NeXT runtime) are appropriately folded. This test is safe to run on all targe…
/* APPLE LOCAL file mainline */ /* Check if finding multiple signatures for a method is handled gracefully. Author: Ziemowit Las…
/* Ensure that we indeed cannot obtain the value of a message send if the chosen method signature returns 'void'. There used t…
/* APPLE LOCAL file mainline */ /* Check if finding multiple signatures for a method is handled gracefully when method lookup succ…
/* APPLE LOCAL file mainline */ /* Check that sending messages to variables of type 'Class' does not involve instance methods, unl…
/* When there is only one candidate method available, make sure the compiler uses its argument/return types when constructing t…
/* Test if context-sensitive "in", "out", "byref", etc., qualifiers can be used as method selectors. */ /* Author: Ziemowit La…
/* APPLE LOCAL file mainline */ /* Test for spurious "may or may not return a value" warnings. */ /* { dg-do compile } */ /* { d…
/* Contributed by Igor Seleznev . */ /* This used to be broken. */ #include @interface A + (A *)currentContext; @end @interf…