📄 wwrite-strings-1.c
字号:
/* 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 "warning: initialization from incompatible pointer type" } */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -