/* PR c/28649 */ /* { dg-do compile } */ void foo() { +; /* { dg-error "expected expression" } */ +; /* { dg-error "expec…
Error Detection 源代码
汇集 Error Detection 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
K 14 svn:executable V 1 * K 13 svn:mime-type V 24 application/octet-stream END
K 13 svn:mime-type V 24 application/octet-stream END
/* APPLE LOCAL file 4185810 */ /* Recover gracefully from a syntax error. */ void function(void) { if( 1 ) { …
/* APPLE LOCAL file 4093475 */ /* Yet another stray infinite loop... */ /* { dg-do compile } */ @interface Foo { int x; int y…
/* APPLE LOCAL begin radar 4261146 */ /* { dg-do compile } */ typedef struct S { int i; } NSDictionary; @interface A { } @end …
/* APPLE LOCAL begin radar 4290840 */ /* { dg-do compile } */ @interface Foo -(void) someMethod; @end @implementation Foo -(void…
/* APPLE LOCAL file 4093475 */ /* Yet another stray infinite loop... */ /* { dg-do compile } */ @interface t { } - (void)go; @end…
/* APPLE LOCAL file 4185810 */ /* Recover gracefully from a syntax error. */ @implementation Whatever /* { dg-warning "cannot f…
/* APPLE LOCAL file 4185810 */ /* Graceful handling of a syntax error. */ /* { dg-do compile } */ #include class foo { publi…