900321_05.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 22 行
C
22 行
// { dg-do run }// g++ 1.37.1 bug 900321_05// The following code is legal as far as the ANSI C standard, GCC, and// cfront are concerned, however g++ issues errors for the lines indicated.// Cfront 2.0 passes this test.// keywords: operator[], pointers, indexchar c;char *cp;int i;void function (){ c = 3["abcdef"]; // { dg-bogus "" } c = i[cp]; // { dg-bogus "" } }int main () { return 0; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?