(byte b, short s, boolean bb, char c, int i,
float f, long l)
| 35 | } |
| 36 | |
| 37 | void binaryMixedType(byte b, short s, boolean bb, char c, int i, |
| 38 | float f, long l) { |
| 39 | int[] a = new int[10]; |
| 40 | // arithmetic |
| 41 | a[0] = b + i; |
| 42 | // bitwise |
| 43 | a[0] = b & i; |
| 44 | // compare |
| 45 | |
| 46 | // condition |
| 47 | if (b > s) { |
| 48 | a[0] = b; |
| 49 | } |
| 50 | // shift |
| 51 | a[0] = s >> s; |
| 52 | l = l >> s; |
| 53 | a[0] = (int) l; |
| 54 | } |
| 55 | |
| 56 | void unary(int a[], int x) { |
| 57 | if (a.length != 1) { |
nothing calls this directly
no outgoing calls
no test coverage detected