Skip to content

Commit a43125c

Browse files
authored
Merge pull request #591 from nickrolfe/CPP-298
C++: we now process operands for vacuous destructor calls through pointers
2 parents ec0663e + fc91ff1 commit a43125c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpp/ql/test/examples/expressions/PrintAST.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,9 @@ VacuousDestructorCall.cpp:
886886
# 4| 0: (vacuous destructor call)
887887
# 4| Type = void
888888
# 4| ValueCategory = prvalue
889+
# 4| 0: y
890+
# 4| Type = int *
891+
# 4| ValueCategory = prvalue(load)
889892
# 5| 2: return ...
890893
# 7| Vacuous(int) -> void
891894
# 7| params:

0 commit comments

Comments
 (0)