C++: Annotation field flow tests with [IR] and [AST]

This commit is contained in:
Mathias Vorreiter Pedersen
2020-05-13 15:16:02 +02:00
parent f5e491caf0
commit 34314d0cb6
11 changed files with 42 additions and 42 deletions

View File

@@ -19,7 +19,7 @@ public:
};
static void sinkWrap(Box2* b2) {
sink(b2->getBox1()->getElem());
sink(b2->getBox1()->getElem()); // flow from f1, f2, f3, f9 [NOT DETECTED by IR]
}
Box2* boxfield;
@@ -61,6 +61,6 @@ public:
private:
void f5b() {
sink(boxfield->box->elem);
sink(boxfield->box->elem); // flow [NOT DETECTED by IR]
}
};