pr12625-1.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 14 行
C
14 行
/* Warning for assignment used as truth-value should apply for bit-fields. *//* Origin: bug 12625 from nomura at netapp.com *//* { dg-do compile } *//* { dg-options "-Wparentheses" } */static struct { int i:8; } s; voidfoo (){ if (s.i = 0) ; /* { dg-warning "parentheses" "warning for bit-field" } */}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?