Sign in
cobalt
/
cobalt
/
3afedffaddc5ae13b4d21dcf2ba98dc14ca58e02
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Analysis
/
structured_bindings.cc
blob: 1e23246f9a12c1b7555664c221177823fb3bd874 [
file
] [
log
] [
blame
]
// RUN: %clang_analyze_cc1 -std=c++17 -analyzer-checker=core -verify %s
// expected-no-diagnostics
struct
s
{
int
a
;
};
int
foo
()
{
auto
[
a
]
=
s
{
1
};
// FIXME: proper modelling
if
(
a
)
{
}
}