repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Analysis
/
complex-init-list.cpp
blob
299f362ffd8a70a1f5f94e138578d1f3e1a417be
1
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=text -verify %s
2
// expected-no-diagnostics
3
4
// Do not crash on initialization to complex numbers.
5
void
init_complex
() {
6
_Complex
float
valid1
= {
0.0
f
,
0.0
f
};
7
}