代码搜索:CATCH
找到约 10,000 项符合「CATCH」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5522822
mm try-catch-3.mm
/* Test if caught exception objects are accessible inside the
@catch block. (Yes, I managed to break this.) */
/* Author: Ziemowit Laski */
/* { dg-do compile } */
/* { dg-opt
www.eeworm.com/read/162614/5522831
mm try-catch-6.mm
/* A very simple @try-@catch example. */
/* { dg-do compile } */
/* { dg-options "-fobjc-exceptions" } */
int foo(void) {
@try {
return 2;
}
@catch (id foo) {
return 1;
}
return 0;
www.eeworm.com/read/162614/5522839
mm try-catch-9.mm
/* Check that local variables that get modified inside the @try
block survive until the @catch block is reached. */
/* Developed by Ziemowit Laski . */
/* { dg-options "-fobjc-
www.eeworm.com/read/162614/5522852
mm try-catch-11.mm
/* Ensure that @try/@catch blocks do not mess with types of
local objects (other than their volatile bits). */
/* { dg-options "-fobjc-exceptions -fnext-runtime" } */
/* { dg-do compile } */
#in
www.eeworm.com/read/162614/5522853
mm try-catch-10.mm
/* Check that taking the address of a local variable marked 'volatile'
by the compiler does not generate untoward errors. */
/* Developed by Ziemowit Laski . */
/* { dg-options
www.eeworm.com/read/162614/5522891
m try-catch-7.m
/* Test for graceful compilation of @synchronized statements. */
/* { dg-do compile } */
/* { dg-options "-fobjc-exceptions" } */
#include
@interface Derived: Object
- (id) meth;
@
www.eeworm.com/read/162614/5522926
m try-catch-3.m
/* Test if caught exception objects are accessible inside the
@catch block. (Yes, I managed to break this.) */
/* Author: Ziemowit Laski */
/* { dg-do compile } */
/* { dg-opt
www.eeworm.com/read/162614/5522955
m try-catch-10.m
/* Ensure that @try/@catch blocks do not mess with types of
local objects (other than their volatile bits). */
/* { dg-options "-fobjc-exceptions -fnext-runtime" } */
/* { dg-do compile } */
#in
www.eeworm.com/read/162614/5522956
m try-catch-1.m
/* Test if the compiler accepts @throw / @try..@catch..@finally syntax. */
/* Developed by Ziemowit Laski . */
/* { dg-options "-fobjc-exceptions" } */
/* { dg-do compile } */
#in
www.eeworm.com/read/162614/5522984
m try-catch-9.m
/* Check that taking the address of a local variable marked 'volatile'
by the compiler does not generate untoward errors. */
/* Developed by Ziemowit Laski . */
/* { dg-options