parent
d08230fe7d
commit
88903d85bc
|
@ -1,3 +1,7 @@
|
|||
2000-05-24 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* gcc.c-torture/execute/20000523-1.c: New test.
|
||||
|
||||
2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
|
||||
|
||||
* c-torture/execute/bcp-1.c: Replace abort in arg of
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
int
|
||||
main (void)
|
||||
{
|
||||
long long x;
|
||||
int n;
|
||||
|
||||
n = 9;
|
||||
x = (((long long) n) << 55) / 0xff;
|
||||
|
||||
if (x == 0)
|
||||
abort ();
|
||||
|
||||
x = (((long long) 9) << 55) / 0xff;
|
||||
|
||||
if (x == 0)
|
||||
abort ();
|
||||
|
||||
exit (0);
|
||||
}
|
Loading…
Reference in New Issue