]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attrs/run-unexported-tests.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[rust.git] / src / test / ui / test-attrs / run-unexported-tests.rs
1 // run-fail
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 }