-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
18 additions
and
119 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
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 +0,0 @@ | ||
--debug | ||
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,20 +1,4 @@ | ||
[logic][parsed][0-15] set-logic: ALL | ||
[logic][typed][0-15] other_1[0-15]: | ||
set-logic: ALL = | ||
{ theories: core, arrays, bitv, floats, string, | ||
int+real; | ||
features: { free_sorts : true; | ||
free_functions : true; | ||
datatypes : true; | ||
quantifiers : true; | ||
arithmetic : regular; | ||
arrays : all; }; }]} | ||
|
||
[logic][parsed][16-79] antecedent: (let (x : 5) in (= x x){(:foo bar)}) | ||
File "tests/typing/pass/smtlib/v2.6/attribute/let_seq.smt2", line 5, character 5-13: | ||
5 | :foo bar | ||
File "tests/typing/pass/smtlib/v2.6/attribute/let_seq.smt2", line 7, character 5-13: | ||
7 | :foo bar | ||
^^^^^^^^ | ||
Warning Unknown attribute (the attribtue was ignored): `:foo` | ||
[logic][typed][16-79] hyp_1[16-79]: | ||
hyp: let x/160 = 5/159 in x/160 = x/160 | ||
|
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
25 changes: 4 additions & 21 deletions
25
tests/typing/pass/smtlib/v2.6/attribute/nest_pattern.expected
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,21 +1,4 @@ | ||
[logic][parsed][0-15] set-logic: ALL | ||
[logic][typed][0-15] other_1[0-15]: | ||
set-logic: ALL = | ||
{ theories: core, arrays, bitv, floats, string, | ||
int+real; | ||
features: { free_sorts : true; | ||
free_functions : true; | ||
datatypes : true; | ||
quantifiers : true; | ||
arithmetic : regular; | ||
arrays : all; }; }]} | ||
|
||
[logic][parsed][16-125] antecedent: | ||
(∀ (x : Int) . | ||
(∀ (y : Int) . (= x y)){(:pattern (sexpr x))}) | ||
[logic][typed][16-125] hyp_1[16-125]: | ||
hyp: | ||
∀ x/159 : int/4. | ||
{ multi-trigger int/4 x/159; } | ||
(∀ y/160 : int/4. x/159 = y/160) | ||
|
||
File "tests/typing/pass/smtlib/v2.6/attribute/nest_pattern.smt2", line 9, character 5-13: | ||
9 | :foo bar | ||
^^^^^^^^ | ||
Warning Unknown attribute (the attribtue was ignored): `:foo` |
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,10 +1,12 @@ | ||
; This tests that attributes are correctly taken into account | ||
; To do that, we rely on the unknown attribute warning | ||
(set-logic ALL) | ||
(assert | ||
(forall ((x Int)) | ||
(! (forall ((y Int)) | ||
(= x y) | ||
) | ||
:pattern (x) | ||
:foo bar | ||
) | ||
) | ||
) |
17 changes: 0 additions & 17 deletions
17
tests/typing/pass/smtlib/v2.6/attribute/nested_quant.expected
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 4 additions & 20 deletions
24
tests/typing/pass/smtlib/v2.6/attribute/simple_pattern.expected
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,20 +1,4 @@ | ||
[logic][parsed][0-15] set-logic: ALL | ||
[logic][typed][0-15] other_1[0-15]: | ||
set-logic: ALL = | ||
{ theories: core, arrays, bitv, floats, string, | ||
int+real; | ||
features: { free_sorts : true; | ||
free_functions : true; | ||
datatypes : true; | ||
quantifiers : true; | ||
arithmetic : regular; | ||
arrays : all; }; }]} | ||
|
||
[logic][parsed][16-88] antecedent: | ||
(∀ (x : Int) . (= x x){(:pattern (sexpr x))}) | ||
[logic][typed][16-88] hyp_1[16-88]: | ||
hyp: | ||
∀ x/159 : int/4. | ||
{ multi-trigger int/4 x/159; } | ||
(x/159 = x/159) | ||
|
||
File "tests/typing/pass/smtlib/v2.6/attribute/simple_pattern.smt2", line 7, character 5-13: | ||
7 | :foo bar | ||
^^^^^^^^ | ||
Warning Unknown attribute (the attribtue was ignored): `:foo` |
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,8 +1,10 @@ | ||
; This tests that attributes are correctly taken into account | ||
; To do that, we rely on the unknown attribute warning | ||
(set-logic ALL) | ||
(assert | ||
(forall ((x Int)) | ||
(! (= x x) | ||
:pattern (x) | ||
:foo bar | ||
) | ||
) | ||
) |