asm-block-8.c

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 30 行

C
30
字号
/* APPLE LOCAL file CW asm blocks *//* { dg-do assemble { target i?86*-*-darwin* } } *//* { dg-options { "-fasm-blocks" } } *//* Radar 4211947 */void foo() {#ifdef __cplusplus  /* This should be fixed with the recursive descent rewrite for the C     frontend.  */  asm#endif  int k;  asm ; This is a comment#ifndef __cplusplus  /* This should work in C++, but the lexer runs up front and it doesn't     have all the state we'd like to handle ; asm comments.  */  asm ; This is a comment to test unpaired '" characters#endif  int j;  asm nop ; This is a comment  asm nop  ; int i;  asm {    ; This is a comment    nop ; This is a comment    nop ; bad ouch } ouch  }  k = i = j;}

⌨️ 快捷键说明

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