OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Backported from mainline
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000528-1.c
1
/* 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
}