view gcc/testsuite/gcc.dg/ctor1.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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 };
}