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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr33563.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do run } */
2
 
3
struct T
4
{
5
  int a, b;
6
} t, q;
7
 
8
int main (void)
9
{
10
  struct T *p;
11
 
12
  t.a = 1;
13
  t.b = 2;
14
  q = t;
15
  t.a = 3;
16
 
17
  if (q.a != 1)
18
    __builtin_abort ();
19
 
20
  return 0;
21
}

powered by: WebSVN 2.1.0

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