blob: ef95d0707933f7373443958b094fd69016fca5b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Test-only use OK
//@ edition:2018
//@ check-pass
//@ aux-crate:bar=bar.rs
//@ compile-flags:--test
#![deny(unused_crate_dependencies)]
fn main() {}
#[test]
fn test_bar() {
assert_eq!(bar::BAR, "bar");
}
|