repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[NFC][RISCV] Remove CFIIndex argument from allocateStack (#117871)
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
rdar6248119.m
blob
a6f74e175af4ca8508cc167d6611456e0231f8dc
1
// RUN: %clang_cc1 -fsyntax-only %s -verify -fobjc-exceptions
2
// expected-no-diagnostics
3
4
void f0(void) {
5
int i;
6
@try {
7
} @finally {
8
int i = 0;
9
}
10
}
11
12
void f1(void) {
13
int i;
14
@try {
15
int i =0;
16
} @finally {
17
}
18
}
19
20
void f2(void) {
21
int i;
22
@try {
23
} @catch(id e) {
24
int i = 0;
25
}
26
}