mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Asmanalysis: Add test case that demonstrates bug
This commit is contained in:
parent
1521e9e4d5
commit
b45a5d7605
7
test/libyul/yulSyntaxTests/builtin_function_literal.yul
Normal file
7
test/libyul/yulSyntaxTests/builtin_function_literal.yul
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
datasize(x,1)
|
||||
}
|
||||
// ----
|
||||
// TypeError 7000: (4-12): Function expects 1 arguments but got 2.
|
||||
// TypeError 9114: (4-12): Function expects direct literals as arguments.
|
||||
// DeclarationError 8198: (13-14): Identifier not found.
|
Loading…
Reference in New Issue
Block a user