1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00
ton/crypto/func/auto-tests/tests/invalid-ident-1.fc

15 lines
236 B
Text

;; this is allowed, lexer doesn't stop on it
int get_false!() { return false; }
_ main() {
var x = false;
if (!x) {
return 1;
}
return 0;
}
{-
@compilation_should_fail
@stderr '!' is reserved for the future
-}