1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-gimple" } */
10 extern struct foo thefoo, theotherfoo;
14 const struct foo init = {
18 volatile const struct foo volinit = {
23 theotherfoo = volinit;
26 /* { dg-final { scan-tree-dump-times "thefoo.* = {}" 1 "gimple"} } */
27 /* { dg-final { scan-tree-dump-times "thefoo.* = 1" 1 "gimple"} } */
28 /* { dg-final { scan-tree-dump-times "thefoo.* = 5" 1 "gimple"} } */
29 /* { dg-final { scan-tree-dump-times "theotherfoo = volinit" 1 "gimple"} } */
30 /* { dg-final { cleanup-tree-dump "gimple" } } */