diff --git a/test/libyul/yulSyntaxTests/builtin_function_literal.yul b/test/libyul/yulSyntaxTests/builtin_function_literal.yul new file mode 100644 index 000000000..81d2c1ed5 --- /dev/null +++ b/test/libyul/yulSyntaxTests/builtin_function_literal.yul @@ -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.