Remove some false positives and enable the check.
[smatch.git] / validation / inline_compound_literals.c
blob649d42ab38aa76cea1e1025174ef5d650ccc70c9
1 struct foo {
2 int x;
3 };
5 static inline void baz(void)
7 (struct foo) { .x = 0 };
10 static void barf(void)
12 baz();
15 static void foo(void)
17 baz();