☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Analysis
/
blocks-nrvo.c
☽
☼
clang/test/Analysis/blocks-nrvo.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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
}