Sign in
ara-mdk
/
platform
/
external
/
clang
/
f72663fc962c1c27a4793ebd3d2e3d81a4f4e984
/
.
/
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
};
}