Commit efb7a3f9 authored by Christian Würdig's avatar Christian Würdig
Browse files

test for conversion

parent 20df9de1
int bla(char a, char b, char c, char d, short e, short f, short g, int h, int i, float j) {
return a + b + c + d + e + f + g + h + i + (int)j;
}
int convtest_func(char c, short s, int i, float f, double d) {
char sc = c + s;
char ic = c + i;
char fc = c + f;
char dc = c + d;
short is = s + i;
short fs = s + f;
short ds = s + d;
int fi = i + f;
int di = i + d;
float df = d + f;
return bla(sc, ic, fc, dc, is, fs, ds, fi, di, df);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment