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
/
SemaObjC
/
return-noreturn.m
blob
c7735ca211e6d12f152f38d29c5788d1ddf534b3
1
// RUN: %clang_cc1 %s -fsyntax-only -fobjc-exceptions -verify -Wreturn-type -Wmissing-noreturn
2
3
id f(id self) {
4
} // expected-warning {{non-void function does not return a value}}
5
6
id f2(id self) {
7
@try {
8
@throw (id)0;
9
} @catch (id) {
10
}
11
return (id)0;
12
}
13