Sign in
cobalt
/
cobalt
/
refs/heads/21.lts.1+
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Analysis
/
complex-init-list.cpp
blob: 299f362ffd8a70a1f5f94e138578d1f3e1a417be [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_analyze_cc1 -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
};
}