📄 null-pointer-1.c
字号:
/* PR c/13382 *//* Origin: Richard Hutchinson <richard.hutchinson@asa.co.uk> *//* Verify that the null initializer is converted to the right pointer type. *//* { dg-do compile } *//* { dg-options "-O" } */struct t{ int aMember;};struct t *const aPointer = 0;void foo(){ int anInt = (aPointer == 0) ? 0 : aPointer->aMember;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -