Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions regression/cpp/Apple_extensions1/test.desc
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
KNOWNBUG
CORE
main.cpp

^EXIT=0$
^SIGNAL=0$
--
^warning: ignoring
^CONVERSION ERROR$
--
This is being tracked in #1647.
3 changes: 3 additions & 0 deletions src/cpp/cpp_typecheck_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ void cpp_typecheckt::typecheck_type(typet &type)
{
// This is an Apple extension for lambda-like constructs.
// http://thirdcog.eu/pwcblocks/
// we just treat them as references to functions
type.id(ID_frontend_pointer);
typecheck_type(type);
}
else if(type.id()==ID_nullptr)
{
Expand Down