function_hooks: update comment explaining various function hooks
[smatch.git] / validation / expand / constant-init-nested-struct.c
blobf27de556f6c5b3fff51786a9af9d7f2695883375
1 struct s {
2 int a;
3 struct {
4 int b;
5 int c;
6 } s;
7 };
9 int foo(void)
11 struct s s = {1, {2, 3}};
12 return s.s.c;
16 * check-name: constant-init-nested-struct
17 * check-command: test-linearize -Wno-decl -fdump-ir $file
18 * check-known-to-fail
20 * check-output-ignore
21 * check-output-contains: phisrc\\..*\\$3
22 * check-output-excludes: load\\.