mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21481 72102866-910b-0410-8b05-ffd578937521
34 lines
697 B
C
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... */
|
|
}
|