array-7.c

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 15 行

C
15
字号
/* Test for array of incomplete structure type - Zack Weinberg in   <http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00108.html>.  *//* { dg-do compile } *//* { dg-options "" } */struct foo;voidf (void){  struct foo { int a; int b; };}struct foo array[5]; /* { dg-error "array type has incomplete element type" } */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?