aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/198_integer_boolean_not.sol
blob: 68fe6e9459fe1adfb43b91c91e49788d1a854f2c (plain) (blame)
1
2
3
contract test { function() external { uint x = 1; !x; } }
// ----
// TypeError: (50-52): Unary operator ! cannot be applied to type uint256