OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libmudflap/] [testsuite/] [libmudflap.c/] [fail37-frag.c] - Blame information for rev 14

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 jlechner
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 *-*-* } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.