☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaObjC
/
catch-invalid.m
☽
☼
clang/test/SemaObjC/catch-invalid.m
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -triple thumbv7-unknown-windows-msvc -fobjc-exceptions -fobjc-runtime=ios -verify %s
2
3
extern void g(void);
4
void f(void) {
5
@try {
6
g();
7
} @catch (Class c) { // expected-error{{@catch parameter is not a pointer to an interface type}}
8
}
9
}