2 #![allow(unused_imports)]
3 // This test checks for namespace pollution by private tests.
4 // Tests used to marked as public causing name conflicts with normal
5 // functions only in test builds.
7 // compile-flags: --test
10 pub fn foo() -> bool {
18 local_name(); // ensure the local name still works