OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr44555.c] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct a {
2
    char b[100];
3
};
4
int foo(struct a *a)
5
{
6
  if (&a->b)
7
    return 1;
8
  return 0;
9
}
10
extern void abort (void);
11
int main()
12
{
13
  if (foo((struct a *)0) != 0)
14
    abort ();
15
  return 0;
16
}

powered by: WebSVN 2.1.0

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