900208_02.c

来自「gcc3.2.1源代码」· C语言 代码 · 共 18 行

C
18
字号
// g++ 1.36.1 bug 900208_02// g++ does not allow a static member of a class/struct/union to be// declared as an array without an explicit upper bound.// Cfront 2.0 passes this test.// keywords: static data members, arrays, dimension, array boundclass class0 {public:  static int class0_data_member_0[];	// gets bogus error};int class0::class0_data_member_0[3] = { 1, 2, 3 };  // gets bogus errorint main () { return 0; }

⌨️ 快捷键说明

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