Skip to content

Commit 3e8f62f

Browse files
authored
Merge pull request #4100 from nickrolfe/ssa_errors
C++: fix compilation errors in ssa.cpp
2 parents 2319c28 + d7849bc commit 3e8f62f

File tree

1 file changed

+2
-2
lines changed
  • cpp/ql/test/library-tests/ir/ssa

1 file changed

+2
-2
lines changed

cpp/ql/test/library-tests/ir/ssa/ssa.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ struct A {
291291
Point *NewAliasing(int x) {
292292
Point* p = new Point;
293293
Point* q = new Point;
294-
int j = new A(new A(x))->i;
294+
int j = (new A(new A(x)))->i;
295295
A* a = new A;
296296
return p;
297297
}
@@ -310,4 +310,4 @@ class ThisAliasTest {
310310
void setX(int arg) {
311311
this->x = arg;
312312
}
313-
};
313+
};

0 commit comments

Comments
 (0)