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.c-torture/] [unsorted/] [BUG23.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
main()
2
{
3
  static char static_char_array[1];
4
  static char *static_char_pointer;
5
  static char static_char;
6
  char  char_array[1];
7
  char *char_pointer;
8
  char  character;
9
 
10
  char *cp, c;
11
 
12
  c = cp - static_char_array;   /* error */
13
  c = cp - static_char_pointer;
14
  c = cp - &static_char;        /* error */
15
  c = cp - char_array;
16
  c = cp - char_pointer;
17
  c = cp - &character;
18
}

powered by: WebSVN 2.1.0

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