1 | // RUN: clang-include-cleaner %s -- -Wunused 2>&1 | FileCheck --allow-empty %s |
---|---|
2 | static void foo() {} |
3 | |
4 | // Make sure that we don't get an unused warning |
5 | // CHECK-NOT: unused function |
6 |
1 | // RUN: clang-include-cleaner %s -- -Wunused 2>&1 | FileCheck --allow-empty %s |
---|---|
2 | static void foo() {} |
3 | |
4 | // Make sure that we don't get an unused warning |
5 | // CHECK-NOT: unused function |
6 |