Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1467a7 + 32b5501 commit 55010d0Copy full SHA for 55010d0
3 files changed
cpp/ql/test/library-tests/types/error/exprs.expected
@@ -0,0 +1 @@
1
+| file://:0:0:0:0 | <error expr> | file://:0:0:0:0 | error |
cpp/ql/test/library-tests/types/error/exprs.ql
@@ -0,0 +1,5 @@
+import cpp
2
+
3
+from Expr e, Type t
4
+where t = e.getType()
5
+select e, t
cpp/ql/test/library-tests/types/error/test.cpp
@@ -0,0 +1,3 @@
+// semmle-extractor-options: --expect_errors
+int &intref = 0; // ErrorExpr with ErroneousType
0 commit comments