mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
[FunC] Add builtin
keyword to be used in stdlib later on
This commit is contained in:
parent
acf0043342
commit
cdef8302b0
6 changed files with 99 additions and 36 deletions
10
crypto/func/auto-tests/tests/invalid-builtin-1.fc
Normal file
10
crypto/func/auto-tests/tests/invalid-builtin-1.fc
Normal file
|
@ -0,0 +1,10 @@
|
|||
(int, int) moddiv2(int x, int y) builtin;
|
||||
|
||||
{-
|
||||
@compilation_should_fail
|
||||
@stderr
|
||||
"""
|
||||
`builtin` used for non-builtin function
|
||||
(int, int) moddiv2
|
||||
"""
|
||||
-}
|
Loading…
Add table
Add a link
Reference in a new issue