| 1 | class NotDead { |
| 2 | |
| 3 | void foo(int x, int y) { |
| 4 | int a; |
| 5 | if (x > y) { |
| 6 | a = 0; |
| 7 | } else { |
| 8 | a = 1; |
| 9 | } |
| 10 | use(a); |
| 11 | } |
| 12 | |
| 13 | int bar() { |
| 14 | int x = 1; |
| 15 | int y = x; |
| 16 | int z = y; |
| 17 | return z; |
| 18 | } |
| 19 | |
| 20 | void use(int n) { |
| 21 | } |
| 22 | } |
nothing calls this directly
no outgoing calls
no test coverage detected