comparison gcc/testsuite/gcc.dg/pr83044.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* PR tree-optimization/83044 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wall -std=gnu89 -O2" } */
4
5 struct A { int b[0]; };
6 struct B { struct A c[0]; };
7 void bar (int *);
8
9 void
10 foo (void)
11 {
12 struct B d;
13 bar (d.c->b);
14 }