goto4.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 27 行
C
27 行
// Test that we clean up temporaries bound to references properly when// jumping out of their scope.int ret = 1;struct A{ ~A() { ret = 0; }};void f(){ if (0) { out: return; } const A& a = A(); goto out;}int main(){ f(); return ret;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?