1 2 3 4 5 6 7 8
/* { dg-options "-O2 -fdump-tree-optimized -fwhole-program" } */ __attribute__ ((externally_visible)) void externally_visible_function () { } /* { dg-final { scan-tree-dump "externally_visible_function" "optimized"} } */ /* { dg-final { cleanup-tree-dump "optimized" } } */