comparison libmudflap/testsuite/libmudflap.c/fail37-frag.c @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 typedef struct
2 {
3 short f : 3;
4 } small;
5
6 struct
7 {
8 int i;
9 small s[4];
10 } x;
11
12 main ()
13 {
14 int i;
15 for (i = 0; i < 5; i++)
16 x.s[i].f = 0;
17 exit (0);
18 }
19 /* { dg-output "mudflap violation 1.*" } */
20 /* { dg-output "Nearby object.*" } */
21 /* { dg-output "mudflap object.* x.*" } */
22 /* { dg-do run { xfail *-*-* } } */