blob: 4ac88b8f14fbe8a9fac10702749861f5559bff00 [file] [log] [blame]
Chris Lattner61eadb02002-12-07 17:08:07 +00001/* Provide Declarations */
2
3#ifndef NULL
4#define NULL 0
5#endif
6
7#ifndef __cplusplus
8typedef unsigned char bool;
9#endif
10
11
12/* Support for floating point constants */
13typedef unsigned long long ConstantDoubleTy;
14typedef unsigned int ConstantFloatTy;
15
16
17/* Global Declarations */
18
19/* External Global Variable Declarations */
20
21/* Function Declarations */
22void __main();
23int printf(signed char *, ...);
24void testfunc(short l5_s, float l11_X, signed char l3_C, signed long long l9_LL, int l7_I, double l12_D);
25void main();
26
27/* Malloc to make sun happy */
28extern void * malloc(size_t);
29
30
31
32/* Global Variable Declerations */
33extern signed char l27_d_LC0[26];
34
35
36/* Global Variable Definitions and Initialization */
37static signed char l27_d_LC0[26] = "%d, %f, %d, %lld, %d, %f\n";
38
39
40/* Function Bodies */
41void testfunc(short l5_s, float l11_X, signed char l3_C, signed long long l9_LL, int l7_I, double l12_D) {
42 int l7_reg226;
43
44
45 l7_reg226 = printf((&(l27_d_LC0[0ll])), ((unsigned )l5_s), ((double )l11_X), ((unsigned )l3_C), l9_LL, l7_I, l12_D);
46 return;
47}
48
49void main() {
50
51 const ConstantFloatTy FloatConstant0 = 0x3f9f5c29; /* 1.245 */
52 const ConstantDoubleTy FloatConstant1 = 0x432ff973cafa8000; /* 4.5e+15 */
53
54 __main();
55 testfunc(12, (*(float*)&FloatConstant0), 120, 123456677890ll, -10, (*(double*)&FloatConstant1));
56 return;
57}
58