Merge pull request #4100 from nickrolfe/ssa_errors

C++: fix compilation errors in ssa.cpp
This commit is contained in:
Jonas Jensen
2020-08-19 09:58:49 +02:00
committed by GitHub

View File

@@ -291,7 +291,7 @@ struct A {
Point *NewAliasing(int x) {
Point* p = new Point;
Point* q = new Point;
int j = new A(new A(x))->i;
int j = (new A(new A(x)))->i;
A* a = new A;
return p;
}
@@ -310,4 +310,4 @@ class ThisAliasTest {
void setX(int arg) {
this->x = arg;
}
};
};