asm-function-17.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 48 行
C
48 行
/* APPLE LOCAL file CW asm blocks *//* { dg-do assemble { target powerpc*-*-* } } *//* { dg-options "-fasm-blocks" } *//* Radar 4257049 */namespace foobar { typedef unsigned long type;}namespace F { typedef unsigned long testAsmFuncType; extern testAsmFuncType testAsmFunction(); asm testAsmFuncType testAsmFunction() { nofralloc li r3, 1 blr } asm foobar::type another() { nop }}namespace { class CI { typedef int foo; static asm foo bar () { nop } };}template <class T> class C { typedef typename T::bar foo;public: static asm foo bar () { nop }};class B {public: typedef int bar;};C<B> e;int main() { return e.bar();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?