?? 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 + -