aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test3.c
blob: 35e5e8bdc4cbc7fdc29dd60af86030db5c9bac1b (plain) (blame)
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
/*
int test1(int a, int b, int c) {
    return a && b ? c - b ? c - b : a+b : 7;
}
*/

int t(unsigned short *p, short i) {
    return p[i];
}

#if 1
long test(long x) {
    return x + (long)"abc";
}
#endif

double ff(double x, double y)
{
    return x + y + .5;
}

void testss() {
    extern struct { long x,y; } aa();
    long x = aa().x;
}

long fma(long x, long y) {
return x + (y <<1) - 2147483648;}