Add test for *Pool exclusion

This commit is contained in:
Owen Mansel-Chan
2026-01-27 15:38:29 +00:00
parent 4f1ad0ff5d
commit 516b84b59a

View File

@@ -120,4 +120,16 @@ class Test {
}
}
}
static class TestPool {
void lock() {}
void unlock() {}
}
void good11() {
TestPool pool = new TestPool();
pool.lock(); // Should be excluded because of "Pool" suffix
f();
pool.unlock();
}
}