-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add testcase with escaped identifier using all allowed non-alphanumer…
…ical characters
- Loading branch information
1 parent
1e1aea0
commit 4cfac21
Showing
2 changed files
with
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ | |
/aim_vs_smt2_nonzero_start_offset*/ | ||
/invalid_ff_dcinit_merge*/ | ||
/2props1trace*/ | ||
/escapechars*/ |
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 |
---|---|---|
@@ -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 |