Sign in
llvm
/
llvm-archive
/
0b77ac699583dcf734b000496ba386cb185b119c
/
.
/
llvm-gcc-4.0
/
libmudflap
/
testsuite
/
libmudflap.c
/
fail32-frag.c
blob: 2a38237b678c80eafb02a1006be30a44fd828e65 [
file
] [
log
] [
blame
]
void
foo
(
int
k
)
{
volatile
int
*
b
=
&
k
;
b
++;
*
b
=
5
;
}
int
main
()
{
foo
(
5
);
return
0
;
}
/* { dg-output "mudflap violation 1.*" } */
/* { dg-output "Nearby object.*" } */
/* { dg-output "mudflap object.*k" } */
/* { dg-do run { xfail *-*-* } } */