-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Some negative instruction parsing tests.
- Loading branch information
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
synthesizer/tests/tests/parser/instruction/instruction_fail.aleo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
floo r0 r1 into r2; | ||
add s0 r1 into r3; | ||
hash.bhp2048 r0 into r1 as field; | ||
hash.pds2 r0 into r1 as field; | ||
commit.ped128 r0 r1 into r2; | ||
add_w r0 r1 into r2; | ||
assert r0; | ||
neg r0 into 3field; |