libs-base/config/config.retframe.c
Adam Fedor 2b9ed0e196 Further copyright/license updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21481 72102866-910b-0410-8b05-ffd578937521
2005-07-15 22:51:23 +00:00

34 lines
697 B
C

/* 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. */
/*
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.
*/
/* 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... */
}