7 lines
105 B
Rust
7 lines
105 B
Rust
|
// compile-flags: --test
|
||
|
|
||
|
#[test]
|
||
|
mod foo {} //~ ERROR only functions may be used as tests
|
||
|
|
||
|
fn main() {}
|