900403_01.c
来自「俄罗斯高人Mamaich的Pocket gcc编译器(运行在PocketPC上)」· C语言 代码 · 共 20 行
C
20 行
// g++ 1.37.1 bug 900403_01// g++ allows casts to be treated as lvalues (even when the -pedantic// option is used). Neither the C++ Reference Manual nor cfront 2.0// allow this. (gcc gives warnings for such usage with -pedantic).// Cfront 2.0 passes this test.// keywords: lvalues, castsint i, j;void f (){ (int) i = j; // ERROR - ((int) i) = j; // ERROR - }int main () { return 0; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?