1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
4 /* Provide Declarations */
11 typedef unsigned char bool;
15 /* Support for floating point constants */
16 typedef unsigned long long ConstantDoubleTy;
17 typedef unsigned int ConstantFloatTy;
20 /* Global Declarations */
22 /* External Global Variable Declarations */
24 /* Function Declarations */
26 int printf(signed char *, ...);
27 void testfunc(short l5_s, float l11_X, signed char l3_C, signed long long l9_LL, int l7_I, double l12_D);
30 /* Malloc to make sun happy */
31 extern void * malloc(size_t);
35 /* Global Variable Declerations */
36 extern signed char l27_d_LC0[26];
39 /* Global Variable Definitions and Initialization */
40 static signed char l27_d_LC0[26] = "%d, %f, %d, %lld, %d, %f\n";
44 void testfunc(short l5_s, float l11_X, signed char l3_C, signed long long l9_LL, int l7_I, double l12_D) {
48 l7_reg226 = printf((&(l27_d_LC0[0ll])), ((unsigned )l5_s), ((double )l11_X), ((unsigned )l3_C), l9_LL, l7_I, l12_D);
54 const ConstantFloatTy FloatConstant0 = 0x3f9f5c29; /* 1.245 */
55 const ConstantDoubleTy FloatConstant1 = 0x432ff973cafa8000; /* 4.5e+15 */
58 testfunc(12, (*(float*)&FloatConstant0), 120, 123456677890ll, -10, (*(double*)&FloatConstant1));