attr-weakref-2.c
来自「用于进行gcc测试」· C语言 代码 · 共 8 行
C
8 行
/* { dg-do compile } *//* { dg-require-weak "" } */typedef int vtype;extern vtype wv1;extern vtype Wv1a __attribute__((weakref ("wv1"))); /* { dg-error "weakref 'Wv1a' must have static linkage" } */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?