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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [struct-ini-4.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct s {
2
  int a[3];
3
  int c[3];
4
};
5
 
6
struct s s = {
7
  c: {1, 2, 3}
8
};
9
 
10
main()
11
{
12
  if (s.c[0] != 1)
13
    abort ();
14
  exit (0);
15
}

powered by: WebSVN 2.1.0

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