mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
12 lines
185 B
Text
12 lines
185 B
Text
fun failBitwiseNotOnBool() {
|
|
var eq = 1 == 0;
|
|
if (~eq) {
|
|
return 0;
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
/**
|
|
@compilation_should_fail
|
|
@stderr can not apply operator `~` to `bool`
|
|
*/
|