mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
* stdlib/tst-makecontext.c (othervar): New variable.
(cf): Test sign extending the argument to long. 2008-04-10 Jakub Jelinek <jakub@redhat.com> * stdlib/tst-makecontext.c (othervar): New variable. (cf): Test sign extending the argument to long.
This commit is contained in:
@ -26,11 +26,12 @@ char st1[8192];
|
||||
__thread int thr;
|
||||
|
||||
int somevar = -76;
|
||||
long othervar = -78L;
|
||||
|
||||
void
|
||||
cf (int i)
|
||||
{
|
||||
if (i != -78 || thr != 94)
|
||||
if (i != othervar || thr != 94)
|
||||
{
|
||||
printf ("i %d thr %d\n", i, thr);
|
||||
exit (1);
|
||||
|
Reference in New Issue
Block a user