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] - Rev 399

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.