⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 init7.c

📁 linux下编程用 编译软件
💻 C
字号:
// { dg-do run  }// simplified from testcase in Windows Developer Journal,// submitted by eyal.ben-david@aks.com// The initialization of a static local variable must be retried if a// previous try finished by throwing an exception [stmt.dcl]/4extern "C" void abort ();struct foo {  foo() { throw true; }};void bar() {  static foo baz;}int main() {  try {    bar(); // must throw  }  catch (bool) {    try {      bar(); // must throw again!    }    catch (bool) {      return 0;    }  }  abort();}

⌨️ 快捷键说明

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