1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

[FunC] Reserve '!' for the future, identifiers can't start with it

This commit is contained in:
Aleksandr Kirsanov 2024-06-22 01:19:57 +03:00
parent 79721d230e
commit e2467b8ba4
No known key found for this signature in database
GPG key ID: B758BBAA01FFB3D3
6 changed files with 48 additions and 7 deletions

View file

@ -0,0 +1,11 @@
_ main() {
var x = false;
var b = ! x;
return b;
}
{-
@compilation_should_fail
@stderr var b = ! x;
@stderr '!' is reserved for the future
-}