unwind1.c
来自「linux下编程用 编译软件」· C语言 代码 · 共 26 行
C
26 行
// { dg-do run }// Test that unwinding properly restores SP.// Contributed by Jason Merrill <jason@cygnus.com>void f (int i){ throw i;}int main (){ void *sp1 = __builtin_alloca (0); try { f (0); } catch (int) { } void *sp2 = __builtin_alloca (0); return (sp1 != sp2);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?