testsuite: Fix ASAN error [PR104687]
authorMartin Liska <mliska@suse.cz>
Fri, 25 Feb 2022 14:08:44 +0000 (15:08 +0100)
committerMartin Liska <mliska@suse.cz>
Fri, 25 Feb 2022 14:08:44 +0000 (15:08 +0100)
PR testsuite/104687

gcc/testsuite/ChangeLog:

* gcc.dg/lto/20090717_0.c: Fix asan error.

gcc/testsuite/gcc.dg/lto/20090717_0.c

index fe13bdf..41558df 100644 (file)
@@ -1,4 +1,4 @@
 struct variable {
         const char *string;
 };
-struct variable table[] = { };
+struct variable table[] = { { 0 } };