va-arg-1.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 14 行
C
14 行
/* { dg-do compile } */#include <stdarg.h>va_list v;volatile int i;void foo(){ i = va_arg(v, char); /* { dg-warning "is promoted to|so you should" "char" } */ i = va_arg(v, short); /* { dg-warning "is promoted to" "short" } */ i = va_arg(v, float); /* { dg-warning "is promoted to" "float" } */}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?