repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert r135493 & r135463
[official-gcc.git]
/
libmudflap
/
testsuite
/
libmudflap.c
/
fail5-frag.c
blob
a08569fe7739b68fda3a76bef99fe59de39b5ed3
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <string.h>
4
int
main
()
5
{
6
char
foo
[
15
];
7
char
bar
[
10
];
8
memcpy
(
foo
,
bar
,
11
);
9
return
0
;
10
}
11
/* { dg-output "mudflap violation 1.*" } */
12
/* { dg-output "Nearby object 1.*" } */
13
/* { dg-output "mudflap object.*.main. bar.*" } */
14
/* { dg-do run { xfail *-*-* } } */