1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized" } */
6 void link_error (void);
8 typedef struct teststruct
15 copystruct1 (teststruct param
)
25 copystruct11 (teststruct
*param
)
35 copystruct111 (teststruct param
)
37 teststruct
*local
= ¶m
;
55 copystruct11111 (void)
57 teststruct
*local
= &globf
;
64 copystruct111111 (teststruct param
)
66 static teststruct local
;
73 /* There should be no referenc to link_error. */
74 /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */