]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/run-unexported-tests.rs
Use better bound names in `-Zverbose` mode
[rust.git] / src / test / run-fail / run-unexported-tests.rs
1 // error-pattern:ran an unexported test
2 // compile-flags:--test
3 // check-stdout
4
5 mod m {
6     pub fn exported() {}
7
8     #[test]
9     fn unexported() {
10         panic!("ran an unexported test");
11     }
12 }