blob: 285f05a12490b76410238aed64cdf89c7f448d18 [file] [log] [blame]
// PR c++/69872
// { dg-options "-Wall -Wextra -pedantic -Wno-narrowing" }
struct s { int x, y; };
short offsets[1] = {
((char*) &(((struct s*)16)->y) - (char *)16), // { dg-bogus "note" }
};