Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/asan/pr95051.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 2b5abeee2509 |
children |
line wrap: on
line source
/* PR sanitizer/95051 */ /* { dg-do compile } */ /* { dg-options "-O2" } */ struct a { struct { struct { int b; } c; }; }; struct d { struct { int e; } f; } g(int h) { struct a *i; struct d *j = (struct d*)&h; i->c.b = j->f.e; }