summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ipa/ctor-empty-1.c
blob: 9cd2b09fb0da6e38668efa585329ec50b0fcaa40 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O3 -c -fdump-ipa-whole-program"  } */
static __attribute__((constructor))
void empty_constructor()
{
}
/* { dg-final { scan-ipa-dump "Reclaiming functions: empty_constructor"  "whole-program"  } } */
/* { dg-final { cleanup-ipa-dump "whole-program" } } */