2012-09-06 06:31:58 +08:00
|
|
|
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -verify %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2012-09-06 06:31:58 +08:00
|
|
|
|
|
|
|
// Do not crash on initialization to complex numbers.
|
|
|
|
void init_complex() {
|
|
|
|
_Complex float valid1 = { 0.0f, 0.0f };
|
|
|
|
}
|