File: config.retframe.c

package info (click to toggle)
gnustep-base 1.26.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 27,260 kB
  • sloc: objc: 204,878; ansic: 32,160; sh: 157; makefile: 128; cpp: 122; xml: 32
file content (34 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* 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... */
}