weak-10.c
来自「linux下编程用 编译软件」· C语言 代码 · 共 14 行
C
14 行
/* Test for #pragma weak where the weak alias symbol isn't declared, although the symbol it is an alias for is defined in the translation unit. Bug 7544. *//* Origin: Joseph Myers <joseph@codesourcery.com> *//* { dg-do compile } *//* { dg-require-weak "" } *//* { dg-require-alias "" } *//* { dg-options "-fno-common" } *//* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?bar1" } } */#pragma weak bar1 = foo1void foo1 (void) {}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?