forked from OSchip/llvm-project
20 lines
228 B
Mathematica
20 lines
228 B
Mathematica
|
// RUN: %clang -ccc-host-triple x86_64-apple-darwin9 \
|
||
|
// RUN: -fsyntax-only -fno-exceptions %s
|
||
|
|
||
|
void f1() {
|
||
|
@throw @"A";
|
||
|
}
|
||
|
|
||
|
void f0() {
|
||
|
@try {
|
||
|
f1();
|
||
|
} @catch (id x) {
|
||
|
;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
int main() {
|
||
|
f0();
|
||
|
return 0;
|
||
|
}
|