Commit bb078eb4 by Alexandre Oliva Committed by Alexandre Oliva

* gcc.c-torture/execute/20000528-1.c: New test.

From-SVN: r34242
parent d7bfe267
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.
......
/* 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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment