array3.c

来自「用于进行gcc测试」· C语言 代码 · 共 15 行

C
15
字号
// PR C++/28906: new on an array causes incomplete arrays to// become complete with the wrong size.// the bounds of xvalue_store was being set to include want// which was incorrect.// { dg-do compile }extern unsigned char xvalue_store[];bool reserve (int want){  new unsigned char[want];}unsigned char xvalue_store[257];

⌨️ 快捷键说明

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