📄 900404_01.c
字号:
// { dg-do assemble }// g++ 1.37.1 bug 900404_01// g++ allows string initializers for known-length character arrays to be// one character longer (counting the terminating null) than the actual// length of the array to be initialized.// The C++ Reference Manual (section 8.4.2) expressly prohibits this.// Cfront 2.0 passes this test.// keywords: arrays, initialization, array boundschar cv[4] = "asdf"; // { dg-error "" } missedint main () { return 0; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -