projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cgraph: A COMDAT decl always has non-zero address.
[gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
try-catch-6.mm
1
/* A very simple @try-@catch example. */
2
3
/* { dg-do compile } */
4
/* { dg-options "-fobjc-exceptions" } */
5
6
int foo(void) {
7
@try {
8
return 2;
9
}
10
@catch (id foo) {
11
return 1;
12
}
13
return 0;
14
}