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/] [execute/] [20000528-1.c] - Blame information for rev 308

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

Line No. Rev Author Line
1 297 jeremybenn
/* Copyright (C) 2000  Free Software Foundation  */
2
/* Contributed by Alexandre Oliva <aoliva@cygnus.com> */
3
 
4
unsigned long l = (unsigned long)-2;
5
unsigned short s;
6
 
7
int main () {
8
  long t = l;
9
  s = t;
10
  if (s != (unsigned short)-2)
11
    abort ();
12
  exit (0);
13
}

powered by: WebSVN 2.1.0

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