mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
12 lines
247 B
Rust
12 lines
247 B
Rust
// compile-flags:--test
|
|
// https://github.com/rust-lang/rust/issues/18199
|
|
|
|
#![doc(test(attr(feature(staged_api))))]
|
|
|
|
/// ```
|
|
/// #![allow(internal_features)]
|
|
/// #![unstable(feature="test", issue="18199")]
|
|
/// fn main() {}
|
|
/// ```
|
|
pub fn foo() {}
|