Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b75009c53084f97a8e295164c07d1007e66ccefa
/
.
/
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
};
}