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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [BUG23.c] - Rev 853

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

main()
{
  static char static_char_array[1];
  static char *static_char_pointer;
  static char static_char;
  char  char_array[1];
  char *char_pointer;
  char  character;
 
  char *cp, c;
 
  c = cp - static_char_array;   /* error */
  c = cp - static_char_pointer;
  c = cp - &static_char;        /* error */
  c = cp - char_array;
  c = cp - char_pointer;
  c = cp - &character;
}
 

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

powered by: WebSVN 2.1.0

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