summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ctor1.c
blob: 6c1cd72cc77ab2f27c4a6fda42008d7a622ac12a (plain)
1
2
3
4
5
6
7
8
9
10
/* Related to PR c++/38410.
   We shouldn't write out a static variable for an all-zero aggregate
   initializer.  The variable named C.0 was created by
   gimplify_init_constructor. */
/* { dg-final { scan-assembler-not "C\\.0" } } */

int main()
{
  int a[] = { 0,0 };
}