⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 900331_04.c

📁 linux下编程用 编译软件
💻 C
字号:
// { dg-do run  }// g++ 1.37.1 bug 900331_04// g++ is unable to correctly parse declarations of formal parameters and// local objects which have pointer-to-array types or reference-to-array// types.// Cfront 2.0 passes this test.// keywords: syntax, arrays, pointers, references, local, formalint array[10];int (*global_array_ptr)[10] = &array;int (&global_array_ref)[10] = array;void function0 (int (*formal_array_ptr)[10]) {	// { dg-bogus "" } s}void function1 (int (&formal_array_ref)[10]) {	// { dg-bogus "" } s}void function2 (){  int (*local_array_ptr)[10] = &array;		// { dg-bogus "" } s}void function3 (){  int (&local_array_ref)[10] = array;		// { dg-bogus "" } }int main () { return 0; }

⌨️ 快捷键说明

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