mirror of
https://github.com/github/codeql.git
synced 2026-07-11 14:35:31 +02:00
C++: Convert qlref tests to inline expectations
This commit is contained in:
@@ -1 +1,2 @@
|
||||
Critical/DeadCodeFunction.ql
|
||||
query: Critical/DeadCodeFunction.ql
|
||||
postprocess: utils/test/InlineExpectationsTestQuery.ql
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
static void usedByUnused() {
|
||||
}
|
||||
|
||||
static void unused() {
|
||||
static void unused() { // $ Alert
|
||||
usedByUnused();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user