source: trunk/testcase/631asmc.c@ 672

Last change on this file since 672 was 672, checked in by bird, 22 years ago

Inital testcase.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1/* $Id: 631asmc.c 672 2003-09-09 13:47:42Z bird $
2 *
3 * The code which VAC generate the 631asm.asm file from.
4 *
5 * InnoTek Systemberatung GmbH confidential
6 *
7 * Copyright (c) 2003 InnoTek Systemberatung GmbH
8 * Author: knut st. osmundsen <bird-srcspam@anduin.net>
9 *
10 * All Rights Reserved
11 *
12 */
13
14/*******************************************************************************
15* Structures and Typedefs *
16*******************************************************************************/
17struct ret4bytes
18{
19 unsigned int au[1];
20};
21
22struct ret8bytes
23{
24 unsigned int au[2];
25};
26
27struct ret12bytes
28{
29 unsigned int au[3];
30};
31
32struct ret16bytes
33{
34 unsigned int au[4];
35};
36
37
38
39struct ret4bytes _System asmfoo4(void)
40{
41 struct ret4bytes ret = {1};
42 return ret;
43}
44
45struct ret8bytes _System asmfoo8(void)
46{
47 struct ret8bytes ret = {1,2};
48 return ret;
49}
50
51struct ret12bytes _System asmfoo12(void)
52{
53 struct ret12bytes ret = {1,2,3};
54 return ret;
55}
56
57struct ret16bytes _System asmfoo16(void)
58{
59 struct ret16bytes ret = {1,2,3,4};
60 return ret;
61}
62
Note: See TracBrowser for help on using the repository browser.