1996-09-02 13:16:35 +00:00
|
|
|
/* Find out if __builtin_apply()'s retframe points directly at `char'
|
|
|
|
and `short' return values, or if it points at an `int'-casted
|
|
|
|
version of them. */
|
2005-07-15 22:51:23 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 2005 Free Software Foundation
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
notice and this notice are preserved.
|
|
|
|
*/
|
1996-09-02 13:16:35 +00:00
|
|
|
|
|
|
|
/* This program exit's with status 0 if it retframe points directly at
|
|
|
|
them. */
|
|
|
|
|
|
|
|
char
|
|
|
|
foo ()
|
|
|
|
{
|
|
|
|
return 0x1;
|
|
|
|
}
|
|
|
|
|
|
|
|
char
|
|
|
|
bar ()
|
|
|
|
{
|
|
|
|
void *retframe;
|
|
|
|
void *argframe;
|
|
|
|
argframe = __
|
|
|
|
retframe = __builtin_apply (foo, argframe, 96);
|
|
|
|
__builtin_return (retframe);
|
|
|
|
}
|
|
|
|
|
|
|
|
main ()
|
|
|
|
{
|
|
|
|
/* xxx Not finished... */
|
|
|
|
}
|