can't compare pointer and reference for equality in contract
ID0002060: This issue was created automatically from Mantis Issue 2060. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0002060 | Frama-Clang | Plug-in > clang | public | 2015-01-22 | 2015-02-14 |
Reporter | Jochen | Assigned To | virgile | Resolution | open |
Priority | normal | Severity | minor | Reproducibility | always |
Platform | Neon-20140301+dev-STANCE-Jan2015 | OS | - | OS Version | xubuntu-cfe13.10 |
Product Version | - | Target Version | - | Fixed in Version | - |
Description :
output:
[kernel] Parsing FRAMAC_SHARE/libc/__fc_builtin_for_normalization.i (no preprocessing) [kernel] Parsing 441.cpp (external front-end) 441.cpp:2:22: invalid implicit conversion 441.cpp:2:22: unknown type comparison for the operator == Now output intermediate result
When line 2 is commented out, the comparison in C++ code in line 3 is accepted.