/* Test for spurious "may or may not return a value" warnings. */ /* { dg-do compile } */ /* { dg-options "-Wextra" } */ #inclu…
Gill method 源代码
汇集 Gill method 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* Contributed by Igor Seleznev . */ /* This used to be broken. */ #include @interface A + (A *)currentContext; @end @interf…
/* 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 '…
/* Do not warn about "slightly" mismatched method signatures if -Wstrict-selector-match is off. */ /* { dg-do compile } */ /*…
/* The following should NOT generate "may not respond to" warnings, since a forward-declared @class (instance) should be treate…
Single-Value Data Binding to a Method Result body, td {font-family:Tahoma,Arial,sans-serif; font-size:10pt} input {font-family…
/* 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 - (…
/* Tests of duplication. */ /* { dg-do compile } */ @interface class1 - (int) meth1; - (void) meth1; /* { dg-error "duplicate d…