We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6d76e5 + 612fc38 commit dfff111Copy full SHA for dfff111
regression/cpp/Apple_extensions1/test.desc
@@ -1,10 +1,8 @@
1
-KNOWNBUG
+CORE
2
main.cpp
3
4
^EXIT=0$
5
^SIGNAL=0$
6
--
7
^warning: ignoring
8
^CONVERSION ERROR$
9
---
10
-This is being tracked in #1647.
src/cpp/cpp_typecheck_type.cpp
@@ -252,6 +252,9 @@ void cpp_typecheckt::typecheck_type(typet &type)
252
{
253
// This is an Apple extension for lambda-like constructs.
254
// http://thirdcog.eu/pwcblocks/
255
+ // we just treat them as references to functions
256
+ type.id(ID_frontend_pointer);
257
+ typecheck_type(type);
258
}
259
else if(type.id()==ID_nullptr)
260
0 commit comments