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