Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wno-narrowing1.C
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" }
};