mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 11:34:11 +00:00
10 lines
137 B
Rust
10 lines
137 B
Rust
// run-pass
|
|
// compile-flags:--test
|
|
#![deny(private_in_public)]
|
|
|
|
#[test] fn foo() {}
|
|
mod foo {}
|
|
|
|
#[test] fn core() {}
|
|
extern crate core;
|