📄 vers4.c
字号:
/* * Testcase to make sure that a versioned symbol definition in an * application correctly defines the version node, if and only if * the actual symbol is exported. This is built both with and without * -export-dynamic. */#include <stdio.h>extern int foo ();intbar(){ return 3;}intnew_foo(){ return 1000+bar();}__asm__(".symver new_foo,foo@@VERS_2.0");intmain(){ printf("%d\n", foo()); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -