destructor call ignored by WP
ID0001961: This issue was created automatically from Mantis Issue 1961. Further discussion may take place here.
|ID0001961||Frama-Clang||Plug-in > clang||public||2014-11-10||2015-02-16|
|Product Version||-||Target Version||-||Fixed in Version||-|
The assertion in line 18 can't be proven by WP/Alt-Ergo. However, if the explicit constructor call is uncommented in line 16, the assertion (and any other obligation) can be proven. The .mlw files given to Alt-Ergo differ just in one precondition to the goal, viz. "(84 = (2 * i))", which is the translation of the destructor's contract (intentionally phrased in a clumsy way to prevent qed from proving the assertion). Both files are attached for convenience.
This problem is very likely the reason for issue #1738 (closed), too.