* gcc.c-torture/execute/20000528-1.c: New test.
From-SVN: r34242
This commit is contained in:
parent
d7bfe26780
commit
bb078eb403
@ -1,5 +1,7 @@
|
||||
2000-05-28 Alexandre Oliva <aoliva@cygnus.com>
|
||||
|
||||
* gcc.c-torture/execute/20000528-1.c: New test.
|
||||
|
||||
* g++.old-deja/g++.law/refs4.C: Mark as XFAIL.
|
||||
* g++.old-deja/g++.law/temps4.C: Likewise.
|
||||
|
||||
|
13
gcc/testsuite/gcc.c-torture/execute/20000528-1.c
Normal file
13
gcc/testsuite/gcc.c-torture/execute/20000528-1.c
Normal file
@ -0,0 +1,13 @@
|
||||
/* Copyright (C) 2000 Free Software Foundation */
|
||||
/* Contributed by Alexandre Oliva <aoliva@cygnus.com> */
|
||||
|
||||
unsigned long l = (unsigned long)-2;
|
||||
unsigned short s;
|
||||
|
||||
int main () {
|
||||
long t = l;
|
||||
s = t;
|
||||
if (s != (unsigned short)-2)
|
||||
abort ();
|
||||
exit (0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user