Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libmudflap / testsuite / libmudflap.c / fail35-frag.c
blob101fe293b2bc6df5c3efde4d4295c30b664cec9f
1 #include <stdlib.h>
3 struct k
5 int p;
6 struct {
7 int m;
8 } q;
9 };
11 int
12 main ()
14 volatile struct k *l = malloc (sizeof (int)); /* make it only big enough for k.p */
15 /* Confirm that we instrument this nested construct
16 COMPONENT_REF(COMPONENT_REF(INDIRECT_REF)). */
17 l->q.m = 5;
18 return 0;
20 /* { dg-output "mudflap violation 1.*" } */
21 /* { dg-output "Nearby object.*" } */
22 /* { dg-output "mudflap object.*" } */
23 /* { dg-do run { xfail *-*-* } } */