wwrite-strings-1.c

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

C
9
字号
/* Test pointer initialization and dereference don't lose qualifiers   on array types.  This test wrongly failed to diagnose the loss of   const.  *//* Origin: Joseph Myers <joseph@codesourcery.com> *//* { dg-do compile } *//* { dg-options "-Wwrite-strings" } */typedef char T[1];T *p = &""; /* { dg-warning "initialization from incompatible pointer type" } */

⌨️ 快捷键说明

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