1#include <stdio.h>
2#include <stdlib.h>
3#include <string.h>
4int main ()
5{
6char *foo;
7char *bar;
8foo = (char *)malloc (10);
9bar = (char *)malloc (15);
10
11memcpy(foo, bar, 11);
12return 0;
13}
14/* { dg-output "mudflap violation 1.*" } */
15/* { dg-output "Nearby object 1.*" } */
16/* { dg-output "mudflap object.*malloc region.*" } */
17/* { dg-do run { xfail *-*-* } } */
18