Skip to content

feat: Convert verbatim into a single builtin with literal arguments #16024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Create verbatim_single_valid.yul
  • Loading branch information
Ragnar authored Apr 26, 2025
commit 943e30351ed6bccdbdacd1cb1536e45cf742b2e5
11 changes: 11 additions & 0 deletions test/libyul/yulSyntaxTests/verbatim_single_valid.yul
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
// Test that we can provide the correct number of arguments
let x := 2
let y := 3
let t := verbatim(2, 1, "abc", x, y) // Correct: 2 inputs as specified
let z := verbatim(0, 1, "def") // Correct: 0 inputs as specified
verbatim(0, 0, "xyz") // Correct: 0 inputs, 0 outputs
}
// ====
// dialect: evm
// ----