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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
catch-invalid.m
blob
9903d9308a02a3fd3bc9d08e580af9876c404eea
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
}