blob: eb4c7091abe6623635d1f3a40720246dee7e895f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
contract A {
function f() {
uint x = 3;
uint y = 1;
uint z = (x > y) ? x : y;
uint w = x > y ? x : y;
}
}
// ----
// Warning: (17-143): No visibility specified. Defaulting to "public".
// Warning: (80-86): Unused local variable.
// Warning: (114-120): Unused local variable.
// Warning: (17-143): Function state mutability can be restricted to pure
|