1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized" } */
4 void link_error (void);
10 class teststruct: public base
18 copystruct1 (teststruct param)
27 /* There should be no reference to link_error. */
28 /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */