dll-4.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 15 行

C
15
字号
/* { dg-do compile { target arm*-*-pe* } } *//* { dg-do compile { target thumb*-*-pe* } } */__declspec (dllimport) int foo1;int foo1;__declspec (dllimport) int foo2;int foo2 = 5;int f () { return foo1 + foo2; }/* FIXME: We should scan the output of nm for this case.  *//* { dg-final { scan-assembler "(foo2:.*\.comm\[ \t_\]*foo1)" } } *//* { dg-final { scan-assembler-not "__imp_" } } */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?