class expression causes abort in presence of user-defined destructor
ID0002004: This issue was created automatically from Mantis Issue 2004. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0002004 | Frama-Clang | Plug-in > clang | public | 2014-12-01 | 2015-04-15 |
Reporter | Jochen | Assigned To | virgile | Resolution | open |
Priority | normal | Severity | minor | Reproducibility | always |
Platform | frama-c-Neon-20140301+dev-stance | OS | - | OS Version | xubuntu-cfe13.10 |
Product Version | - | Target Version | - | Fixed in Version | - |
Description :
output:
Unsupported expressions:ExprWithCleanups 0x17e7dc0 <179.cpp:8:6, col:17> '_Bool'
-CXXMemberCallExpr 0x17e7d98 <col:6, col:17> '_Bool'
-MemberExpr 0x17e7d68 <col:6, col:12> '' .test 0x1799820
-CXXBindTemporaryExpr 0x17e7d48 <col:6, col:10> 'struct cls' (CXXTemporary 0x17e7d40)
-CXXTemporaryObjectExpr 0x17e7d00 <col:6, col:10> 'struct cls' 'void (void)' zeroing
Aborting [kernel] user error: Failed to parse C++ file. See Clang messages for more information
The problem disappears if the destructor definition in line 3 is deleted.