[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / Analysis / loop-widening-ignore-static-methods.cpp
blobbcf4f8b23a6064461eb403e6efe7b1cf01996c2b
1 // RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-max-loop 2 %s
2 // REQUIRES: asserts
3 // expected-no-diagnostics
4 //
5 // This test checks that the loop-widening code ignores static methods. If that is not the
6 // case, then an assertion will trigger.
8 class Test {
9 static void foo() {
10 for (;;) {}