Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr100576.c
blob: f16a8224c6ea05fc9062bcac4b3b622f65cd32d6 [
file
] [
log
] [
blame
]
/* { dg-require-effective-target non_strict_prototype } */
/* PR middle-end/100576 */
const
char
v
[]
=
{
0x12
};
void
foo
(
const
char
*
p
)
{
int
b
=
sizeof
v
;
int
n
=
memcmp
(
p
,
v
,
b
);
if
(
n
)
__builtin_abort
();
}