Sign in
ara-mdk
/
platform
/
external
/
clang
/
2cd889d6d97db0cf73930873871aa4a542e84b89
/
.
/
test
/
Analysis
/
complex-init-list.cpp
blob: bbff64b7a13f57354ed91ff2e329c2c903368ba9 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -verify %s
// expected-no-diagnostics
// Do not crash on initialization to complex numbers.
void
init_complex
()
{
_Complex
float
valid1
=
{
0.0f
,
0.0f
};
}