1 // check-pass
2 
3 mod m {
check()4     fn check() {
5         std::panic!(); // OK
6     }
7 }
8 
main()9 fn main() {}
10