/* PR middle-end/22028 */ /* { dg-do compile } */ /* { dg-options "" } */ void foo (void) { struct { int i[]; } u; /* { dg-erro…
WinCC+flexible 源代码
汇集 WinCC+flexible 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* Test for flexible array members: not permitted in unions. */ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-optio…
/* Test for invalid uses of flexible array members. */ /* { dg-do compile } */ /* { dg-options "-std=iso9899:1999 -pedantic-error…
/* { dg-do compile } */ /* { dg-options "-std=c89 -pedantic" } */ struct { int a[]; } x = { 0 }; /* { dg-error "(flexible array me…
/* PR c/5597 */ /* { dg-do compile } */ /* { dg-options "" } */ /* Verify that GCC forbids non-static initialization of flexib…
/* PR c/5623 */ /* { dg-do compile } */ /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */ struct blah { int number; …