900208_02.c
来自「用于进行gcc测试」· C语言 代码 · 共 19 行
C
19 行
// { dg-do run }// 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[]; // { dg-bogus "" } };int class0::class0_data_member_0[3] = { 1, 2, 3 }; // { dg-bogus "" } int main () { return 0; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?