view gcc/testsuite/gcc.dg/ctor1.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +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 };
}