repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Analysis
/
blocks-nrvo.c
blob
89b7fd39577b30a3a93a9db80219397420ea021b
1
// RUN: %clang_analyze_cc1 -w -analyzer-checker=core -fblocks -verify %s
2
3
// expected-no-diagnostics
4
5
typedef
struct
{
6
int
x
;
7
}
S
;
8
9
void
foo
(
void
) {
10
^{
11
S s
;
12
return
s
;
// no-crash
13
};
14
}