C++: Accept test output after fixes for PointerAdd element sizes

This commit is contained in:
Dave Bartolomeo
2019-08-15 14:47:59 -07:00
parent 3108d97ea5
commit 8a9528b1a8
6 changed files with 6 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ void following_pointers(
twoIntFields sArray[1] = { { source(), source() } };
// TODO: fix this like above
sink(sArray[0].m2); // no flow (due to limitations of the analysis)
sink(sArray[0].m2); // flow (AST dataflow misses this due to limitations of the analysis)
twoIntFields sSwapped = { .m2 = source(), .m1 = 0 };