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

📄 900321_01.c

📁 gcc-you can use this code to learn something about gcc, and inquire further into linux,
💻 C
字号:
// g++ 1.37.1 bug 900321_01// cfront flags ERRORs on each of the lines indicated below. g++ does not// flag either ERRORs or warnings.// Although I cannot find where in the current C++ Reference Manual this// topic is covered, I am sure that these statements should get ERRORs in// a "strongly typed" language.// Cfront 2.0 passes this test.// keywords: array types, array bound, pointersint (*ptr_to_array_of_ints)[];int (*ptr_to_array_of_3_ints) [3];int (*ptr_to_array_of_5_ints) [5];void function_0 (){  // we miss the first two because typeck.c (comp_array_types) deems  // it okay if one of the sizes is null  ptr_to_array_of_ints = ptr_to_array_of_3_ints;	// ERROR -   ptr_to_array_of_3_ints = ptr_to_array_of_ints;	// ERROR -   ptr_to_array_of_3_ints = ptr_to_array_of_5_ints;	// ERROR -   ptr_to_array_of_5_ints = ptr_to_array_of_3_ints;	// ERROR - }int main () { return 0; }

⌨️ 快捷键说明

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