new test case

From-SVN: r34136
This commit is contained in:
Nick Clifton 2000-05-24 18:25:18 +00:00 committed by Nick Clifton
parent d08230fe7d
commit 88903d85bc
2 changed files with 23 additions and 0 deletions

View File

@ -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

View File

@ -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);
}