Skip to content

Commit

Permalink
add testcase with escaped identifier using all allowed non-alphanumer…
Browse files Browse the repository at this point in the history
…ical characters
  • Loading branch information
nakengelhardt committed Mar 22, 2022
1 parent fa5d5ad commit fbb5211
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
/junit_*/
/submod_props*/
/multi_assert*/
/escapechars*/
25 changes: 25 additions & 0 deletions tests/escapechars.sby
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[options]
mode bmc
depth 1
expect fail
wait on

[engines]
smtbmc yices
smtbmc boolector
btor btormc
abc bmc3


[script]
read -sv escapechars.v
prep -top test

[file escapechars.v]
module test(
input \foo!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~bar
);
always @* begin
assert (\foo!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~bar );
end
endmodule

0 comments on commit fbb5211

Please sign in to comment.