forked from OSchip/llvm-project
8 lines
168 B
C
8 lines
168 B
C
|
// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
|
||
|
// expected-no-diagnostics
|
||
|
|
||
|
void initbug() {
|
||
|
const union { float a; } u = {};
|
||
|
(void)u.a; // no-crash
|
||
|
}
|