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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Driver
/
exceptions.m
blob
90c9bb58e66139ed99423673b78974bf7c85b438
1
// RUN: %clang -target x86_64-apple-darwin11 \
2
// RUN: -fsyntax-only -fno-exceptions %s
3
4
void f1(void) {
5
@throw @"A";
6
}
7
8
void f0(void) {
9
@try {
10
f1();
11
} @catch (id x) {
12
;
13
}
14
}
15
16
int main(void) {
17
f0();
18
return 0;
19
}