Skip to content

Commit 31a6788

Browse files
comment
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent a990e7f commit 31a6788

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/c++/example.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,8 @@ void tst_visit() {
835835
std::cout << "visit example\n";
836836
context c;
837837

838+
// only one of the occurrences of x*x is visited
839+
// because they are the same subterms
838840
expr x = c.int_const("x");
839841
expr y = c.int_const("y");
840842
expr z = c.int_const("z");

0 commit comments

Comments
 (0)