builtin3.c

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

C
17
字号
// Without explicit prototype, we need to assume the builtin can// throw for builtins that at least on one platform can throw.// { dg-do compile }// { dg-options "-fdump-tree-eh" }struct A { A (); ~A (); int i; };intbar (){  A a;  __builtin_printf ("foo %d\n", a.i);}/* { dg-final { scan-tree-dump-times "resx 1" 1 "eh" } } *//* { dg-final { cleanup-tree-dump "eh" } } */

⌨️ 快捷键说明

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