1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-ipa-icf -fno-inline" } */
9 static struct str test
;
11 unsigned foo(struct str
*s
)
16 unsigned bar(struct str
*s
)
26 return foo (&test
) == bar (&test
);
29 /* { dg-final { scan-ipa-dump "Equal symbols: 1" "icf" } } */
30 /* { dg-final { cleanup-ipa-dump "icf" } } */