📄 try-catch-4.mm
字号:
/* Check that the compiler does not incorrectly complain about exceptions being caught by previous @catch blocks. *//* Author: Ziemowit Laski <zlaski@apple.com> *//* { dg-do compile } *//* { dg-options "-Wall -fobjc-exceptions" } */@interface Exception@end@interface FooException : Exception@endextern void foo();void test(){ @try { foo(); } @catch (FooException* fe) { } @catch (Exception* e) { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -