asm-names.c

来自「用于进行gcc测试」· C语言 代码 · 共 17 行

C
17
字号
/* The name specified by an asm("...") suffix on a declaration is not   to have an underscore prefixed, even if normal symbols are.   Problem reported by Krister Walfridsson <cato@df.lth.se>.  *//* { dg-do compile } *//* { dg-options "-fleading-underscore" } *//* { dg-final { scan-assembler-not "____frob14" } } */extern void frobnicate (void) asm ("___frob14");  /* three underscores */intmain (void){  frobnicate ();  return 0;}

⌨️ 快捷键说明

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