weak1.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 15 行
C
15 行
// { dg-do run }// { dg-do compile { target *-*-coff i?86-pc-cygwin } }// { dg-warning "weak declaration" "COFF format does not support weak" { target *-*-coff i?86-pc-cygwin powerpc-ibm-aix4* rs6000-ibm-aix4* } 5 }extern void foo (void) __attribute__ ((weak));intmain (){ if (&foo) foo (); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?