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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libmudflap/] [testsuite/] [libmudflap.c/] [fail37-frag.c] - Blame information for rev 859

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 275 jeremybenn
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.