Dead
[official-gcc.git] / gomp-20050608-branch / libmudflap / testsuite / libmudflap.c / fail10-frag.c
blobdb135d5c45133e395baa9a44649b5440aa95e068
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4 int main ()
6 volatile int foo[10];
7 int sz = sizeof (int);
9 volatile char *bar = (char *)foo;
10 bar [sz * 10] = 0;
11 return 0;
13 /* { dg-output "mudflap violation 1.*" } */
14 /* { dg-output "Nearby object 1.*" } */
15 /* { dg-output "mudflap object.*.main. foo.*" } */
16 /* { dg-do run { xfail *-*-* } } */