Files
clang-p2996/clang/test/Driver/exceptions.m
Sebastian Pop 422377cfd3 rename -ccc-host-triple into -target
llvm-svn: 148582
2012-01-20 22:01:23 +00:00

20 lines
219 B
Mathematica

// RUN: %clang -target 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;
}