darwin-builtin-linkage.c
来自「用于进行gcc测试」· C语言 代码 · 共 21 行
C
21 行
/* { dg-do compile { target *-*-darwin* } } *//* { dg-final { scan-assembler-not "\\.weak_definition __ZTI" } } *//* Verify that none of the type_info structures for the fundamental types are emitted as weak on Darwin. */#include <cxxabi.h>namespace __cxxabiv1 {using namespace std;// This has special meaning to the compiler, and will cause it// to emit the type_info structures for the fundamental types which are// mandated to exist in the runtime.__fundamental_type_info::~__fundamental_type_info (){} }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?