1 /* { dg-do compile } */
2 /* { dg-require-weak "" } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
5 void __attribute__((weak
)) func(void)
16 /* { dg-final { scan-tree-dump "func \\(\\);" "optimized" } } */
17 /* { dg-final { cleanup-tree-dump "optimized" } } */