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

📄 try-catch-5.mm

📁 linux下编程用 编译软件
💻 MM
字号:
/* Check that the compiler does correctly complain about   exceptions being caught by previous @catch blocks.  *//* Force the use of NeXT runtime to see that we don't ICE after   generating the warning message.  *//* { dg-do compile } *//* { dg-options "-Wall -fnext-runtime -fobjc-exceptions" } */@interface Exception@end@interface FooException : Exception@endextern void foo();void test(){  @try {    foo();  }  @catch (Exception* e) {	/* { dg-warning "earlier handler" } */  }  @catch (FooException* fe) {	/* { dg-warning "will be caught" } */  }}

⌨️ 快捷键说明

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