1f08c3bdfSopenharmony_cistruct s { 2f08c3bdfSopenharmony_ci struct { 3f08c3bdfSopenharmony_ci int u, v; 4f08c3bdfSopenharmony_ci } a, b; 5f08c3bdfSopenharmony_ci}; 6f08c3bdfSopenharmony_ci 7f08c3bdfSopenharmony_cistatic const struct s s; 8f08c3bdfSopenharmony_ci 9f08c3bdfSopenharmony_cistatic int foo(int c) 10f08c3bdfSopenharmony_ci{ 11f08c3bdfSopenharmony_ci return c && s.b.v; 12f08c3bdfSopenharmony_ci} 13f08c3bdfSopenharmony_ci 14f08c3bdfSopenharmony_ci/* 15f08c3bdfSopenharmony_ci * check-name: cost-deref-nested 16f08c3bdfSopenharmony_ci * check-command: test-linearize -fdump-ir $file 17f08c3bdfSopenharmony_ci * 18f08c3bdfSopenharmony_ci * check-output-ignore 19f08c3bdfSopenharmony_ci * check-output-excludes: cbr 20f08c3bdfSopenharmony_ci */ 21